Hello,
I have been using hybridauth on D7 perfectly fine. But on D6, I have a typical issue of facebook showing a white screen on load. G+ and twitter work fine. Test URL is - http://ss.acelincreations.in/.
Please help.
Thanks,
rina
Hello,
I have been using hybridauth on D7 perfectly fine. But on D6, I have a typical issue of facebook showing a white screen on load. G+ and twitter work fine. Test URL is - http://ss.acelincreations.in/.
Please help.
Thanks,
rina
Comments
Comment #1
alemadleiI have a similar issue with a Drupal 6 installation, but I'm not sure if it is the same one you are getting.
So I was checking the generated FB url, and it ends up being something like
https://www.facebook.com/dialog/oauth?client_id=1497258043839806&redirec...
I was wondering about the repeating ",0" in the URL. So I checked where they load the configuration. And it seems it is stored in hybridauth_provider_Facebook_scope
After checking the variable it turns out that it has a similar structure to this:
So, it seems that when these settings are built into the FB URL, those 0 are added.
What I did is that I added a submit handler for the settings form, on a custom module, and I clean up the values before they get stored.
Similar to this
After doing this, it began to work as expected.
Hope this helps soimeone.
Comment #2
duozerskIf the reason for the issue is what is explained in the #1 above then it should be fixed in the 6.x-1.x-dev release as it does array_filter() on the Facebook scope settings array.
Thanks
AndyB
Comment #3
alemadleiThe Drupal site I was working on has 6.x-2.0.
Regards,