Topic: Facebook Like Box
Does anybody know how to put the FB Like Box in the site?
You are not logged in.
Does anybody know how to put the FB Like Box in the site?
But in which file do I have to put the like box code in?
depends on where you want to have the code
should you have it in sidebar it is sidebar.tpl
and choice the iframe alternative it is the easy way !
if you don´t know how to do ask a question on vldmods
and I will make a tutorial for you how to do ...
Pretty simple. Copy the javascript code facebook provides and paste it in the vld template you want it to appear. I have the like button in several places on my site.
Here is the FB link for creating the like button code: http://developers.facebook.com/docs/ref gins/like/
hello db3204,
Can i ask what layout to get the total count and message? If I use standard, then it does not show the total count. If I use button, then it does not show the message.
Thanks.
Here is my code:
<script src="https://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="http://www.domain.com<?=$_SERVER['REQUEST_URI']?>" layout="standard" show_faces="false" width="100" action="like" font="arial"></fb:like>
Hmmm, I'm not sure what the problem is. I just set it up the way I want and copy the code. Lets try this:
I have the Like Button on all blogs since blogs are popular. For example, here is a link for a blog that has the Like Button so you can see what it looks like.
http://www.filipinaeyes.com/online-dati view/2793/
In this blog, just look below the youtube video in the blog and you will see the Like Button
All I did was go to Facebook Social Plugin page, fill out the boxes for the Like Button (used Standard). Than I would Get the code, than paste it in member_blog_entry.tpl right below the {entry_body} tag in the template.
You can use HTML5, Iframe or XFBML. Probably Iframe is the best unless you want to use the Send feature than you would have to use HTML5.
It is pretty straight forward, so not sure why you are having problems. Could it be your URL?
Try your URL with and without a closing slash when filling out the form for your Like Button. For example:
http://www.mysite.com (without closing slash).
http://www.mysite.com/ (with closing slash).
It worked now. I have another question.
When I clicked on the Facebook Like button, that member url shows on my account on Facebook with different picture. What if someone who owns this picture complaints about his or her picture on Facebook? Do you think it is against Facebook tos?
Or, how do we NOT include these images when users click on profiles they like from our website.
Thanks.
Last edited by tadisaus2 (2011-11-19 16:20:56)