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
Related
<%--Facebook Like Box--%>
<div class="fb_iframe_widget">
<iframe src="//www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FRumour-Entertainments-Agency%2F63822323174&width=260&height=350&show_faces=false&colorscheme=light&stream=true&border_color&header=true&appId=123233914444256" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:260px; height:350px;" allowTransparency="true"></iframe>
</div>
It looks like facebook have been tinkering yet again! If you have a like box on your website it will only show up if you are logged in to facebook itself! What is the point though? What if a person does not have facebook? Is there a way to keep the like box on the website without having to log in to facebook to view the like box?
Am i not passing the facebook security checks if there any? Dont know whats changed from before so bit clueless at the moment.
I think the reason is that you are referring to page which requires authentication.
I see you have in src attribute value of your URL as follows:
http://www.facebook.com/pages/FRumour-Entertainments-Agency/63822323174
and when you try it in browser separately it requires authentication
I used Facebook's open graph interface to generate necessary meta tags to annotate my page.
The value I gave for fb:admins was my own personal account user ID.
All other values, including the URLs, were different, but for some reason both Like buttons are showing the same count - what could be causing this?
{edit: the domains are culebrais4lovers.com and acueductospr.com)
You're pointing the Like buttons on both domains at the same place (acueductospr.com)
On your sample page, http://culebrais4lovers.com
you have this HTML:
<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.acueductospr.com&send=false&layout=button_count&width=100&show_faces=false&action=like&colorscheme=light&font=segoe+ui&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowtransparency="true"></iframe>
Change the like button on culebrais4lovers.com to point to culebrais4lovers.com
I'm having trouble getting the facebook like button to work on custom post types in wordpress.
The code I'm using:
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(get_permalink($post->ID)); ?>&layout=button_count&show_faces=false&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px"></iframe>
It registers the like on the site, but nothing updates on facebook.
Not sure what the problem is, think it may have something to do with the permalink, but everything I've tried doesn't work.
Any help appreciated!
2 Best Plugins are available for facebook like for custom post type
Facebook Like Buttton
Another good plugin for facebook like
You just have to: download it --> install it --> select type(POST) --> where to display (bottom of post)
OR if you interested for custom Facebook like "code" then Go here.
I hope this will help you out! :)
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.
I Know this is super simple but for the life of me i cant seem to figure out why it refuses to work.. if use the like plugin generator http://developers.facebook.com/docs/reference/plugins/like/ and from that got this iframe <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.lightandspace.co.uk%2F&send=false&layout=standard&width=400&show_faces=false&action=like&colorscheme=light&font=arial&height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:35px;" allowTransparency="true"></iframe>
what happens is that it says it cant load the page as if the link is broken but i dont know why ??
Ive also tryed the js/html5 method but that just fails to display at all.
any helps much apreciated
I created a jsFiddle for this at http://jsfiddle.net/JkZna/, and it seems to work. Could you add the location of your website and the exact error generated?
Note that you cannot run the Facebook plugin as is locally.
In your iframe code:
<iframe src="//www.facebook.com/
Are you sure that isn't supposed to be:
<iframe src="http://www.facebook.com/