I have a similar problem to a recent issue (http://drupal.org/node/348518), however the fix doesn't work for us. I've checked the README and install instructions over and over, and cannot figure this out, help!
The links on my canvas page are not working:
* The callback url is not being rewritten. For example it's showing http://apps.facebook.com/fb_cb/6298/... instead of http://apps.facebook.com/APPNAME
* It seems to be displaying the callback URL instead of a facebook friendly URL
* If we manually replace the callback url with our APPNAME the page shows up
* We definitely have the trailing slash included on the callback URL in the facebook settings
As far as we can tell, it seems like the rewrite in the fb_canvas.module is not working for us for some reason. We've been looking at the issues and rechecking our setup, and cannot seem to find any solution.
Please help!
Comments
Comment #1
Dave Cohen commentedEnable the fb_devel module and go to apps.facebook.com/APPNAME/fb/devel. What does it say there? Also check your log messages. Are you using the default fb_fbml theme?
Comment #2
marie_t commentedWe re-uploaded the original fb_fbml theme, and now the links work (our user error in modifying the theme). However there is still a problem (i think this is an issue?)...
The link url's display the "/fb_cb/6298" in the url. From what i've read this should not be appearing. For example the links look like http://apps.facebook.com/APPNAME/fb_cb/6298/ . Shouldn't the fb_cb/6298 not be displayed? The links do work thought.
Here is the output from the devel module:
* in_fb_canvas returns 1
* get_loggedin_user returns
* current_url returns http://OURDOMAIN.COM/fb_cb/6298/fb/devel
* base_url: http://OURDOMAIN.COM
* base_path: /
* url() returns: /
* session_key is
*
Facebook user via fb_get_fbu =>
Thank you for your help!
Comment #3
Dave Cohen commentedfrom the readme:
I think this will fix it.
Comment #4
marie_t commentedAh ha, that worked, thanks so much! (sorry for the issue, in troubleshooting we somehow undid the patch, and forgot to re-add it). Thank you.
Comment #5
Dave Cohen commented