<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fchinaphonearena.com&send=false&layout=button_count&width=100&show_faces=false&font=arial&colorscheme=light&action=like&height=21&appId=117777795070982" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe>
I've tried it with HTML, IFRAME, HTML5 pasted direct code from the facebook like button generator...with the same result.
It's still resetting to zero.
You can see there's no errors in the debugger.
http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fchinaphonearena.com
This is tied into a facebook page which has the website URL set to the URL within the code.
What's interesting is if I run my website through the debug tool, it INSTANTLY gets a count back. If it's reading '0', then go run the URL through facebook debugger it sets it back to '4'. Some hours later it will return to '0'. If running the URL through the debugger, instantly back to '4' again.
This is driving me crazy. Anyone knows the solution, thanks for the help.
Problem solved. (I think). The link within the code was leading to mysite.com, but the .htaccess redirect leads to mysite.com/forum. By changing the link in the facebook button code to mysite.com/forum, the counter now stays.
Related
We have a website, but Facebook does not like our website.. All users can visit it, Google has no problems with it, Google Webmaster tools displays the correct website, but the Facebook Graphs API and the debug tool are return a 404 error.
The website it's about:
http://www.gekvanfietsen.nl/ervaringen/11,ervaringen_met_de_santos_travelmaster_28_alu.html
Here are some screenshots of the response code in Chrome and from the Facebook Debugger:
https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.gekvanfietsen.nl%2Fervaringen%2F11%2Cervaringen_met_de_santos_travelmaster_28_alu.html
Hoping someone could help me, we've tried everything we could think of.. Double checking .htaccess, checking for any 404 headers and whatsoever.
It might be related to W3TC settings:
http://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-facebook-404-error-on-debugging
I will suggest, you refer to the FB API again. Use this JavaScript API that is easy and most browsers supports it.
If you are just looking for a Like button with a count, you are looking in wrong place.
Refer to this Social Plugin Like Button, fill out the form and choose Iframe code/javascript code,(as FBML is not supported in all browsers). Use ready/generated code and you are ready to go.
It will give you something like this example:
<iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Freference%2Fplugins%2Flike&send=false&layout=standard&width=450&show_faces=true&font&colorscheme=light&action=like&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>
Please reply any question...
<%--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
Ok, this is the iframe I get from official API
<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.gabbatracklistworld.com%2Findex.php%3Fexplore%3Dview%26trackid%3D586&send=false&layout=button_count&width=450&show_faces=false&font&colorscheme=light&action=like&height=21&appId=225322387567317" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe>
it works well! I click Like, and I see on facebook that I LIKE that page. BUT, when I click from Facebook to the link, going to that page :
http://www.gabbatracklistworld.com/index.php?explore=view&trackid=586&fb_action_ids=10200316597536577&fb_action_types=og.likes&fb_source=timeline_og&action_object_map=%7B%2210200316597536577%22%3A10151528903177923%7D&action_type_map=%7B%2210200316597536577%22%3A%22og.likes%22%7D&action_ref_map=%5B%5D
I see that "I don't like it" anymore. Seems that querystring added by Facebook is another location than previous page.
Is it a bug? How can I fix it?
If you go to http://developers.facebook.com/docs/reference/plugins/like/
and paste http://www.gabbatracklistworld.com/index.php?explore=view&trackid=586
and then press get code. You'll see a tab called iframe. It says:
This plugin does not have an iframe implementation with the selected
options. Please use the JavaScript SDK and the HTML5 or XFBML
implementations, or change the value of the send parameter.
You need to use the first implementation, embed the javascript sdk, and create the like button using html5 or xfbml. The tabs explain exactly how.
I'm currently working with Facebook Like Box.
I used the the official like box generator.
For the required input page, I use:
https://www.facebook.com/pages/Cinta-Buku/265954863527629
and the generator generates this code:
<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FCinta-Buku%2F265954863527629&width=292&height=590&colorscheme=light&show_faces=true&border_color&stream=true&header=true" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:590px;" allowTransparency="true"></iframe>
and it works.
However, the problem is: every time I try to like the page using the box, I have to confirm it. After I clicked the link to the confirm page, it says "The page you requested was not found." But I am sure I inserted the right page to the generator.
Here is the screenshot for the confirmation page:
And here is the complete URL for the confirmation page:
https://www.facebook.com/plugins/like_confirm.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FCinta-Buku%2F265954863527629&node_type=page&edge_type=like&widget_id=connect_widget_50a60922e85357a20242337
I've tried using the debugger to check the facebook page. But the result is weird, I mean, how can a facebook-generated page does not pass the debugger? Maybe this debugger is not for Facebook page.
The closest question I found here in Stack Overflow is 'Facebook Like Button Confirmation Page Says “The Page You Requested Was Not Found”', but this one is for Like Widget, not Like Box, and the solution does not work for me.
You can try the problematic box here: http://www.cintabuku.co.id/
It's in the lower right sidebar.
So yeah, I'm kinda stumped here.
Can anybody help me here?
I've had the problem as well. Let me guess... in the beginning the like box worked fine?
This happens because Facebook tries to scrape the url you want to like (in your case http://www.facebook.com/pages/Cinta-Buku/265954863527629), but if you put it into the debugger it gives an error that it can't be parsed. So after a while Facebook will mark the page as "spam" and then you have to confirm (what often doesn't work as well).
The reason why Facebook doesn't scrape the page correctly is because if the numbers in the url I think. Because if you try to scrape http://www.facebook.com/ with the debugger it works.
I don't really see a real solution for you here, we always have to like external pages and not a Facebook page itself, but still I hope you understand the problem a bit better now.
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