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...
Related
I'm working on a UI project which makes use of a SVG browser Ekioh. Part of the requirement is to allow a user to LIKE a facebook page through the application. But since Ekioh isn't compatible with the FB javascript SDK, I can't seem to use the social plugin - like button. I looked into possibilities of using the graph API to implement this but it turned out this isn't possible by design. One can use graph API to like other objects but not page!
So in order to make it happen, I'm wondering what my options are if there is any, even if they were workarounds? Could some gurus out there kindly point me to the right direction please?
Any suggestions would be highly appreciated!
Have you tried using the iframe interface?
<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fgoogle.com" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>
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.
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! :)
Im trying to implemet Facebook Like with OpenGraph and Im getting weird error:
You must specify an URL as part of this widget or API.
I added Open Graph protocol to meta tags, added < fb:like> tag with URL to that page, added JavaScript SDK init.
Like appears, I click, and that error is shown. Does anyone knows what to do
Thanks
EDIT:
I found error...
I'm using FB connect with script: http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php
There is FB.Init and if you want to include some plugin then you can't use FB.Init again, which every plugin request. So if you have few plugins on the same page, then you will have error.
But, with this FeatureLoader.js I cant get FBML to work, only fb:fan works, and for Activity and Like I must use iframe :(
Does anyone know how to get it work with FBML?
Thanks again
I also faced the same URL error and after long hours of mind boggling and hit and trial, i was able to make it work.
Infact my facebook fan box was showing the currently logged in user's facebook home page instead of fan list.
The actual problem was same as mentioned in above comments of the featureloader library.
I have written about my problem and the solution here:
http://am22tech.com/s/22/Blogs/post/2010/06/01/Facebook-like-box-shows-users-facebook-home-page-instead-of-like-box-content.aspx
Hope it helps others.
This error is the result of the href parameter not being specified or being specified incorrectly when calling Facebook's code.
It should look something like this if you're putting this on a standard web page:
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fstackoverflow.com%2F&layout=standard&show_faces=true&width=450&action=like&colorscheme=light"
scrolling="no" frameborder="0"
allowTransparency="true"
style="border:none; overflow:hidden; width:450px; height:80px"></iframe>
See the format of src parameter? The parameters called: href, layout, show_faces, width, action, colorscheme have rules for how they are called. Check Like Button for more information. Facebook's Developer Docs are invaluable for doing this kind of thing.
We had that error of "You must specify an URL as part of this widget or API."
and found we had been using an out of date facecbook JS include file of
http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php
so if you are trying to get FB like to work and have the above, remove and or update it.