I just created a simple webpage where people can browse funny photos and share it with their friends.
But im having problems with the facebook like button. I have used the facebook like button before on a static url with iframe. And that seemed to work fine.
Im using the XFBML version and not the iframe version because the iframe version affects the pages layout.
This is the code I got from facebook:
<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="" send="false" layout="button_count" width="450" show_faces="false" font="tahoma"></fb:like>
Facebook says that "href - the URL to like. The XFBML version defaults to the current page. " So i left that one open.
When users click Like the counter won't update. It still shows nothing as if no one ever clicked the button.