I'm trying to setup "Like" button on productpages in our shop. I'm using iframe version of "like button" app.
Unfortunatelly liked product is available on user's wall only when he add a comment additionally (liked page without a comment is invisible on his wall).
Code I have used:
<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.limango.pl%2Ffbfeed%3Fprodid%3D304983+&send=false&layout=standard&width=450&show_faces=false&action=recommend&colorscheme=light&font&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>
and the result page (with opengraph data) is located here: http://www.limango.pl/fbfeed/?prodid=313198
What mistake I made that I cannot post this without a comment?
Thanks in advance for any response.
Kind regards,
Slawek.
Found in Google:
"The Like / Recommend button without comment – When third-parties use the standard iframe Like button with a width less than 400 pixels, the button_count, or box_count version of the Like / Recommend button, users aren’t given the option to comment. A simple, one-line story linking to the content is published to the Recent Activity feed of the user’s wall, and the story is less frequently displayed in the news feeds of friends. Users are subscribed to future updates from the button’s owner."
Related
How can I make Facebook like button on my web page to like a particular wall post/object (photo, video, link, etc) on my Facebook page when people click it?
I only get to make people to like my Facebook page, but not a particular post/object (photo, video, link, etc)
Does it make a sense?
To acquire a LIKE button for a particular URL, you can get embed code from facebook developers site - It gives a menu where you can enter URL and edit settings for LIKE Button then once you click GET CODE after setting all properties, it gives you an Embed code that you can use to put that LIKE Button on your website:
https://developers.facebook.com/docs/plugins/like-button/
Following is the example code for LIKE button - it will display a LIKE button for URL www.google.com - note the parameter href=http://WWW.GOOGLE.COM in code - This is for which will be LIKED.
<iframe src="//www.facebook.com/plugins/like.php?href=http://WWW.GOOGLE.COM&width=The+pixel+width+of+the+plugin&height=80&colorscheme=light&layout=standard&action=like&show_faces=true&send=false&" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:The pixel width of the pluginpx; height:80px;" allowTransparency="true"></iframe>
I have a site with a facebook like button (using iframe). when a user clicks there's a small popup and the user can enter text.
I have another site with exactly the same code, but when the users likes there is no popup to enter text...
How is that?
This is the code:
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.xxxxxxxx.org&send=false&layout=button_count&width=450&show_faces=false&action=recommend&colorscheme=light&font&height=21&appId=xxxxxxx" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe>
From the documentation at http://developers.facebook.com/docs/reference/plugins/like/
When will users have the option to add a comment to the like?
If you are using the XFBML version of the Like button, users will always have the option to add a comment. If you are using the Iframe version of the button, users will have the option to comments if you are using the 'standard' layout with a width of at least 400 pixels. If users do add a comment, the story published back to Facebook is given more prominence.
First let me apologize for my lack of knowledge - I'm not a programmer. I'm a staff member of a small non profit that's trying to tackle social media.
We have a FB Like button that we put on our website that directs people to our company FB page.
However I'm trying to create a Like button for specific webpages. For example, we sell webinars and we create a specific webpage for each webinar with the description etc. How can I put a like button on that webpage, so that when people click it, it appears on their personal FB wall that they like this specific webinar?
I've seen this done for articles that I've read, but I can't seem to figure out how to do this for our company.
I'd appreciate any advice you can give - in layman's terms please.
In your case I would use the iframe version of the like button, "does not include send button".
https://developers.facebook.com/docs/reference/plugins/like/
Simply add the url to the page you are installing your button in the Like Button code wizard then uncheck send button, when the code window pops up, select iframe.
The wizard will generate the iframe code you need and encode the url to your page for the iframe, sample below. This can be done with Facebook Page Profile URL's and External Website URL's.
<iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fanotherfeed.com&send=false&layout=standard&width=450&show_faces=false&action=like&colorscheme=light&font&height=35&appId=148744491883305" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>
We are having a problem with our newsfeed - it is essentially a likebox plugin to save having to update both the website and our facebook page.
Using an iframe, the facebook page populates the newsfeed. If the viewer of the website is not logged into facebook everything is working correctly.
HOWEVER - if the person is logged into facebook (as most people seem to be!) none of the posts on the facebook page are feeding through to the website and it is simply showing the latest check in.
Is this a common bug? I am using the code directly from the facebook developers page:
http://developers.facebook.com/docs/reference/plugins/like-box/
I have tried using the XFBML version as opposed to the iframe but getting the same result.
Does anyone know of a way around this!? Its killing me!
Thanks
JD
You need to add the following attribute:
force_wall="true"
to your iframe. it was added a couple of months ago - see here: http://developers.facebook.com/docs/reference/plugins/like-box/ and scroll down to attributes.
This was a bug in Facebook and it was fixed in July 2011.
Refer to this post
http://bugs.developers.facebook.net/show_bug.cgi?id=16656#c41
you have to add
force_wall="true"
So for example, if you are using iframe version, you can add it at the end of src like below.
<iframe src="http:INSERT YOUR WEBSITE HERE;width=292&colorscheme=light&show_faces=true&border_color&stream=true&header=true&height=427&force_wall=true"
scrolling="no" frameborder="0" style="border:none; overflow:hidden;
width:292px; height:427px;" allowTransparency="true"></iframe>
my prestashop facebook like button keep giving me ERROR in red no matter what i do.
I have my facebook like set up successfully if i do this
<iframe src=“http://www.facebook.com/plugins/like.php?href=http://URL.com&layout=standard&show_faces=false&width=450&action=like&font=verdana&colorscheme=light&height=35” scrolling=“no” frameborder=“0” style=“border:none; overflow:hidden; width:450px; height:35px;” allowTransparency=“true”></iframe>
However, this above post this problems:
1) It post a static url as URL.com to my facebook whenver the LIKE is clicked. How do i make the url to be dynamic according to the product page currently viewed?
2) Whenever i click LIKE, my facebook wall will delete the previous product which i like and add the latest one to the top.
3) How do i get the exact picture which i click LIKE posted to facebook?
To solved the dynamic URL for question (1), i then try this from here. However it then post me error after the button is clicked.
<iframe src="http://www.facebook.com/plugins/like.php?href={php} echo 'http://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; {/php}&layout=standard&show_faces=false&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:35px; margin-top:10px; margin-bottom: 0px"></iframe>
I have done some research on the successful website for this feature such as this. When i view the page source it has this as below:
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.prodaja-nakita.rs/product.php?id_product=129&
layout=standard&show_faces=false&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0"
allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:35px; margin-top:10px; margin-bottom: 0px"></iframe>
I have exactly the same as it when i do a compare with my url page source.
As for the question (3), if it cannot get me the exact picture, i would prefer something like This where it allow user to select which picture to choose. ** CLick on the facebook share to test it out.
I have even tried install V1.1.1 facebook like button from here but still having same problem.
FYI, i am using prestashop 1.3.7. In order to get this facebook like button to work, i have uninstalled the chrononical Url, turned off the friendly URL feature. whewwww....
Somebody please help
i found out that it is because of the Ip address you key in when your page is offline.
Remove the ip and enable the shop and the like button works great