I am having problems setting up the like button on my website. I want it to say how many people have liked this page. If you look at http://www.e-junkie.com/ at the top of the page and you can see what I am shooting for. I know how to do all of the divs and everything I just cant get it to display the number of people that have liked my page. Any help would be greatly appreciated. Thanks John
Go here: http://developers.facebook.com/docs/reference/plugins/like Fill out the details and you should have what you want
When I do that this is what I get. Look at the top of my site -- www.5pr5.com/ I dont get the same result. John
If noone likes your site... then there is nothing to count, right? Copying a fixed "top bar" is quite... boring
I copied the bar to figure out how it was placed there. It was a learning experience. Of course there is no likes because I just put it there. It seems there is always one person like you in every forum that has to try to be a smart ass when someone is looking for some help. (Thats what this forum is here for).
sure, sure... Thank god I am smart. So what exactly is your problem? That there is no number shown? You like thisUnlike Code (markup): You chose the wrong button I would say
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://www.5pr5.com"></fb:like> Code (markup): should be <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like layout="button_count" href="http://www.5pr5.com"></fb:like> Code (markup): Sometimes reading can help! Experimenting, too.
#topbar { position:fixed; width:100%; height:32px; top:0; left:0; z-index:2; } Code (markup): Like this.. Just to mention, if you use the IFRAME or the FB:LIKE code from Facebook your site's code will get invalid. I am using the jQuery Facebook Like plugin and my sites are still valid XHTML... just FYI!
Do you mean what am having in my website... winwebsolutionz.com ... If so it's simple ping me here.. will clear everything
Interesting I didn't think of that! I couldn't figure out how to fix that frame error but I am going to look into this. Sorry for going off topic a little CSM is pretty much on the money. Also check the development documents for which method needs cross domain files. I experimented when the connect platform and widgets first came out but it has changed considerably since then and I think you no longer need the cross domain file for basic functionality but I am no longer sure on this since I don't deal directly with the code anymore, all plugins now.