Like button does not appear after following README.txt instructions.
I read the README.txt from start to finish. I read the troubleshooting guide.
Instructions:
To quickly confirm that XFBML tags now work, place this markup in a page node (or block) on your website. In the body field type in the code shown here:
<fb:like></fb:like>
- Followed the Installation in the downloaded Readme, same as http://drupal.org/node/923804
- Edited my settings.php as per instructions. Did not add the "more options for your settings.php" code.
- Created an Unfiltered/Unprocessed HTML with Admin access
- Added the
<fb:like></fb:like>code to a block, put the block in the content region of my Zurb Foundation subtheme. - No Like button appears. I expected a Like button.
I confirmed these appear in view source:
xmlns:fb="http://www.facebook.com/2008/fbml
<fb:like></fb:like>
This does not appear in view source:
http://connect.facebook.net/en_US/all.js
- Drupal for Facebook Devel reports "No worries" in Status.
- Nothing shows in the log but some errors from fb_devel because I didn't have fb_app enabled. I enabled fb_app.
- I did have fb_autopost installed and enabled before I read it might conflict. I disabled it and uninstalled it.
- Using the two-part code from https://developers.facebook.com/docs/reference/plugins/like/ does work. I deleted the code from my HTML after experimenting.
- I re-read README.txt. Rebuilt my caches, turned caching off, ran all update scripts, checked the list on potential conflicting modules. I do not have Global Redirect.
- I am not using clean urls, but the docs say I don't need to unless I am running an app.
Still no Like button.
I'm stumped!
Comments
Comment #0.0
slamorte commentedadded cache disabled
Comment #1
Dave Cohen commentedMaybe your theme is not including the page footer. Briefly try bartik theme and see if that works.
Comment #2
jaypanI also cannot get the like button to appear. I have read through the whole README.txt multiple times. Here is some info:
1) All the following appear in my source:
2) I have disabled any other facebook modules
3) I disabled globalredirect
4) I only have the fb.module and fb_devel.module enabled (from this suite of modules)
5) I have tried changing the theme to bartik - didn't help
6) The output from the devel block is as follows:
(Note: URLS changed to example.com)
7) I'm using version 3.2.2 of the facebook SDK
I don't know what else to try. I've tried everything in the README as best I could. I've disabled as many modules as I could. The code is showing up in the HTML, as are the scripts.
I don't know what else to try. Help please!
Comment #3
jaypanWell, scratch that, it works. I was having a momentary attack of stupidity - I've got facebook blocked in my browser using a script blocker, so of course it won't work. Allowing facebook through solved the problem.
Comment #3.0
jaypanmore info added
Comment #4
jaypanComment #5
yan commentedHaha, same as #3, thanks for the hint.