I'm running my Drupal install at "http://localhost/playground6/". I've put that address into facebook's site URL for the app (screenshot). I've also entered the corresponding App ID into the modules settings page (screenshot).
The page is outputing code, but nothing is being displayed.
HTML Output (http://pastebin.com/Zajyfx0M).
Export of Like Box Preset (http://pastebin.com/mQ870Qnx).
I'm also not seeing any FB JS included in the page. My guess is that this is the culprit. I looked through the module and I should be getting ...all.js included (link) but that's not happening. The include for that file appears on lines 627 and 714 in fb_social.module.
Thoughts?
Comments
Comment #0.0
bryancasler commentedcorrections
Comment #0.1
bryancasler commentedcorrection
Comment #0.2
bryancasler commentedadded screenshots
Comment #0.3
bryancasler commentedmore info
Comment #1
bryancasler commentedSince this is rending the module unusable, I am re-classifying it as Critical. After looking at it a bit more I also believe this to be a bug and no longer a mis-configuration issue.
Comment #2
samhassell commentedHi animelion,
If you edit fb_social.module in fb_social_page_alter() and comment out
then the module will work correctly, albeit doing a bunch of stuff on pages that dont have fb_social plugins on them.
The real issue is that the global $_fb_script_init is not set.
This variable is set in fb_social_preprocess_fb_social_plugin(), which appears to be called AFTER the page_alter hook.
Anyway a non-contrib hacking workaround is to add a hook_init to one of your custom modules and set the variable there. The JS will load on every page then.
This is actually a duplicate of http://drupal.org/node/1431914, but feel free to reopen if you have any further trouble.
Cheers,
Sam.
Comment #3
bryancasler commentedWorked like a charm Sam. Thanks!
Comment #3.0
bryancasler commentedmore info