Welcome to WebmasterWorld Guest from

Forum Moderators: httpwebwitch & not2easy

Message Too Old, No Replies

facebook like button question

how to use the XFBML version



10:07 pm on Apr 11, 2011 (gmt 0)

10+ Year Member

I have the iframe version of the like button working (sort of) it doesn't seem to always show up in chrome, but it's not showing up for me on webmaster world either so...

Anyway, is using the XFBML version as simple as copying and pasting the code?

Why does it say "...but requires use of the JavaScript SDK" ?


11:58 am on Apr 12, 2011 (gmt 0)

5+ Year Member

I'm not too sure you do need the SDK if I'm honest, though the documentation does say you do, my guess is it does some rendering on the xfbml. It also means you can add in callback functions.

The other thing you will need is the OG tags on the page so it renders correctly.

I'm guessing you've seen this page?



8:11 pm on Apr 12, 2011 (gmt 0)

10+ Year Member

Thank you Tommybs, I did see that but I don't fully understand it yet.

I went ahead and made the button, I didn't add any tags and I still don't know what JavaScript SDK is, but the button appears to be working...

The only thing is that sometimes the button turns into a miniature facebook profile icon with a blank white box next to it, it does this with both the iframe and the XFBML version.

I see this on my site and on other sites that I visit with facebook buttons. Why is that?

Featured Threads

Hot Threads This Week

Hot Threads This Month