Hello,
I tried to research on the topic but it seems quite undocumented, and I did read the readme 'till the end.
I've got subdomains on my site that determine the language. Therefore, when setting up my app callback urls, it's either http://fr.exemple.com, or http://en.exemple.com or http://exemple.com (fallback). The issue is that, whichever one I choose, the default theme will stop functionning when I access the other two. All the functionnalities do work fine, even connect.
Devel tells me : "The Facebook Application labeled Facebook has a suspicious connect_url. The value is http://en.exemple.com/fb_cb/Facebook/, while something starting with http://exemple.com was expected. Consider editing Facebook."
Any idea what I should do?
Thanks,
saipas
Comments
Comment #1
Dave Cohen commentedYou should edit the app from a url like http://example.com/admin/build/fb, and no one that starts with http://fr.example.com/....
When you save the app on Drupal, by default it updates the callback url on facebook. and when it does, it uses the current base_url.
There's a checkbox to prevent this. If you uncheck the option, you'll always set the properties on facebook manually.
Comment #2
saipas commentedI can't update the app settings, it says that an app with that name already exists.
I tried changing the settings in facebook manually, the result:
"The Facebook Application labeled Facebook has a suspicious connect_url. The value is http://example.com/fb_cb/Facebook/, while something starting with http://en.example.com was expected. Consider editing Facebook."
Comment #3
Dave Cohen commentedbeta 10 should fix the bug about editing the app. Changing the setting manually was a good idea.
The warning comes from fb_devel.module. It's being to strict. It should be OK for a subdomain situation like yours. For now I recommend just finding the check in fb_devel.module and commenting it out.
Comment #4
saipas commentedWorked like a charm, thanks for the help :)