It seems, that FB changed its API again. If you are using XFBML tag <fb:login-button> you should no more use <fb:intl> inside of it. I think simple deleting of <fb:intl> should ne enough.
Hotfix and screenshot of problem (from http://www.drupalforfacebook.org/) attached.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | fb_login_button.diff | 2.63 KB | Dave Cohen |
| dfb.png | 9.43 KB | Jiri Bazant | |
| fb_button_hotfix1.patch | 617 bytes | Jiri Bazant |
Comments
Comment #1
gargsuchi commentedFacing the same issue with 6.x version as well.
@ Jiri Bazant - A simple deleting of what would be enough? can you please post.
thx
Suchi
Comment #2
gargsuchi commentedok
I fixed the lgoin button somewhat by removing the
and
from function theme_fb_login_button in fb_theme.inc.
This works now if I am not logged into FB in that browser, but in case i am logged in facebook in the same browser (in a diff tab) I dont see anything. any help please?
Comment #3
Jiri Bazant commentedSorry, I did not notice that FBML tags are stripped as well. There should be:
"It seems, that FB changed its API again. If you are using XFBML tag <fb:login-button> you should no more use tag <fb:intl> inside of it. I think simple deleting of <fb:intl> should be enough."
Comment #4
Dave Cohen commentedI'm not seeing this on drupalforfacebook.org. Was it just temporary?
I copied the fb:intl from their documentation a while back. Their doc no longer suggests that you can put any text in there.
Comment #5
gargsuchi commentedSeems to me that this was some intermittent problem from FB end. Is fixed now.
Comment #6
mayur.pimple commentedyes .. now Working fine...
Comment #7
jemond commentedI just starting seeing this issue today on 6.x.
Comment #8
jemond commentedOdd, after a few hours the issue went away.
Comment #9
jemond commentedThis issue came back and didn't go away after 12 hours.
Comment #10
el_reverend commentedI can confirm the issue (http://www.nicolebyopi.com/user) on D6. It does not seems to be interrupting services however.
Comment #11
jemond commented@el_reverend - Same here, just looks off but works fine.
Comment #12
jemond commentedFWIW, I chatted with Dave Cohen and we deployed a temp hotfix that overrides theme_fb_login_button() and removed the tags being inserted into the button code. I think there is a better longer term fix, but this worked for us for now.
Comment #13
Dave Cohen commentedHere's a patch I'm testing. If you've configured your fb_connect block, you'll have to manually reconfigure it. This patch changes the defaults for that, and the theme_fb_login_button function.
Facebook's documentation still includes the XFBML option for a login button. But the example no longer shows the fb:intl tag. Just deleting that should be a workaround for now.
Comment #14
jemond commentedWorking for our site, and fixes issue.
Comment #15
Dave Cohen commentedpushed it.
Comment #16.0
(not verified) commentedAdded
<code>wrappers.