Topic-icon Error trying to setup canvas on facebook.

Active Subscriptions:

None
13 years 10 months ago #24590 by mjh5598
I am running joomla 1.7 - I have sef turned on and they add .html to every url that I create.
The fb canvas allows only for the namespace - example : XXX.XXXX.com/namespace

I have modified my .htaccess file to redirect the url requests coming for that url to XXX.XXXX.com/namespace to XXX.XXXX.com/info/XXX.html

But I keep getting this error in my logs:
192.168.2.70 - - [11/Jul/2012:08:58:46 -0400] "POST /namespace/?fb_source=bookmark_apps&ref=bookmarks&count=0&fb_bmpos=2_0 HTTP/1.1" 302 295
192.168.2.70 - - [11/Jul/2012:08:58:51 -0400] "GET /info/namespace.html/?fb_source=bookmark_apps&ref=bookmarks&count=0&fb_bmpos=2_0 HTTP/1.1" 404 35889

Can someone help me ?
The topic has been locked.
Support Specialist
13 years 10 months ago #24600 by alzander
First off, Joomla 1.7 is way out of date. There's a ton of security issues and bugs with that release. I don't know if that's part of the problem, but it's possible.

As for your redirect, what URL are you redirecting from? You show it as XXX.XXXX.com/namespace, but for your Canvas URL, that should be apps.facebook.com/namespace . Not sure why you blocked that out if it is, and if it isn't, I'm missing something.

Finally, your subscription expired in the end of February. Since then, we've released JFBConnect v4.2, which has a slew of improvements, including some for the Canvas area. You may want to upgrade just for the new features in the updated releases which could help as well.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24603 by mjh5598
how do i update my subscription ??? i see no link ? do i have to buy another all together ? will i have to uninstall the version i have ?
The topic has been locked.
Support Specialist
13 years 10 months ago #24609 by alzander
Yes, you need to subscribe again. We do not automatically renew subscriptions because we like to give users that choice. If you do renew while your subscription is still active, we offer a 20% discount on the subscription price (it's taken automatically at checkout). Once your subscription expires though, the prices go back to new user pricing.

As for installing/upgrading, you simply need to install it like any other new Joomla extension. JFBConnect will upgrade what's already installed on your site and you won't loose any settings. If you uninstall first, that's ok as well, and again, you won't loose any settings.

Hope that helps, but if you need more info, let us know,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24612 by mjh5598
i will get the full year full bundle package - but do not see the 20% discount
The topic has been locked.
Support Specialist
13 years 10 months ago #24613 by alzander
You don't have an active subscription. The discount only applies for those with subscriptions that haven't expired. It's a bonus and incentive to keep subscriptions up-to-date. Instead, you've basically saved the 20% by not subscribing since February of this year.

Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24616 by mjh5598
I have purchased the bundle and tried to do upgrade, now i get the error:
Facebook API Error: Failed to connect to 2a03:2880:10:1f03:face:b00c:0:26: Network is unreachableFacebook Application configuration could not be loaded. Please check your App ID and Secret Key

any ideas?
The topic has been locked.
Support Specialist
13 years 10 months ago #24622 by alzander
Something's odd with your server's configuration. It's trying to use the IPv6 address for Facebook (which is ok, though uncommon), but it doesn't seem to be able to connect (which isn't good). Facebook actually has a minor update to their PHP library out which is meant to fix this. The description for the change is:

With dual stacked DNS responses, it's possible for a server to have IPv6 enabled but not have IPv6 connectivity. If this is the case, curl will try IPv4 first and if that fails, then it will fall back to IPv6 and the error EHOSTUNREACH is returned by the operating system.

We can help you to enable this change, but if that's what's necessary, it basically means there's an underlying issue on your server that you may also want/need fixed.

Let me know if how you'd like to proceed. If you have server tech support (or are it), it may be easy to fix on your end. Your hosting company should also be able to help (just say ipv6 is configured, but not working). Otherwise, I can give you a minor code change to make which *may* resolve the issue.

Sorry for the trouble,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24637 by mjh5598
i made a couple of adjustments to my server. Can you tell me if ipv6 is an issue anymore - how can i check this for myself ?

Also have been trying to research the fb tab - but not really understanding it well - i thought the canvas is an iframe - can i redirect to anything ? how can this be done ?
Can the fb tab be redirected as well - versus going to the home page - can you tell me how a regular user will use it ?

i have googled it but really confusing. - thanks
The topic has been locked.
Support Specialist
13 years 10 months ago #24653 by alzander
Are you still getting the error you mentioned above? if not, then it sounds like it's fixed. The reason I say it's an IPv6 issue is because the address the error mentions isn't working is an IPv6 address (2a03:2880:10:1f03:face:b00c:0:26) vs a standard older type address (66.68.128.134).

As for the Canvas (or Page Tab), those both are iFrames from your site that are loaded within Facebook. In the Autotune configuration wizard, the Facebook Page Tab URL and Canvas URLs are what you set to display within the iFrame. Whatever URL you set there is what will show. The only restriction is that the domain is part of your Website URL that you setup in your application.

Hope that helps explain, but if you need more info or have other questions, just let us know!

Thanks,
Alex
The topic has been locked.