Facebook Like Button HTML5 code Errors - facebook

I'm currently having trouble using facebook like button in html5 version, it seems that everytime the visitor of my wordpress blog liked a blog post, it's not working. It will work for a while but when you refresh it, it goes back to active button which is very strange since the user already liked the blog post.
I also encountered that when i liked my own blog post, it fetched the wrong details. example, i liked the blog post #1 but when i check my facebook, it the fetched image is wrong, the description and title is also wrong.
what is the proper way to add a facebook like button in wordpress blog?
any help?

I also encountered the same error before. I already tried the linter to debug it but it really doesn't work. Anyway, my simple solution to that is I changed my facebook like code to Iframe version (since html5 give me crap, there's no harm if I use iframe lol). I don't encountered any errors with that. It works perfectly.
about your question on how to add facebook like in your index file or multiple blog posts in wordpress, the link (guide on how to...) might help you. I used that before. It also discusses about twitter tweet, google plus and pinterest pin it button's wordpress implementation.
have a good day!

Related

facebook graph page/picture edge returning questionmark

So this is a little bit odd, I have a website that trawls facebook looking at specific pages and requesting data from them.
As part of this I request the picture object of the page: http://graph.facebook.com/285361880228/picture
This returns a question mark instead of the page profile picture.
Other links to pages seem to work without a problem.
http://graph.facebook.com/1485760851674064/picture
Does anyone know what may be causing this?
I am currently using version 2.3 of the API.
I'm assuming it has something to do with the page setup, as according to the facebook documentation,I should be able to read this.
https://developers.facebook.com/docs/graph-api/reference/v2.3/page/picture/
It seems like the facebook page has not been published. Try publishing the page and access the image using same link. It will work.

Facebook Comments have disappeared from all our pages

All the Facebook comments have disappeared from our site's webpages (see: http://www.around-around.com/wanted-13/).
I've run the pages through the Debugger, and it appears that they're ok (just warnings about descriptions, etc.).
But when I was trying to see if there was new code for the comment box from FB, I used the FB comment plugin creator—that's when something strange happened. The example site shows up just fine; our site is rendered with a .... Weird! Frustrating!
We've been using FB comments for over a year now, and they work pretty well. But this is really frustrating. Here's some proof: https://graph.facebook.com/?ids=http://www.around-around.com/wanted-12/
Have we been...um...banned?
It's a facebook comments plugin issue at the moment. Check this https://developers.facebook.com/bugs/383938611736678?browse=external_tasks_search_results_5269356c254c23e51751890
Hopefully it will be fixed soon.

Facebook comments plugin broken?

How do I solve an issue where the Facebook comments plugin seems to be completely broken? Please see the screen shot.
When I am logged in to Facebook, I see what you see there. Where the plugin HTML is meant to be, it says "skin must be one of the following values: light, dark".
When I am logged out of Facebook, it is completely blank. I am seeing this error on all browsers, on multiple test computers (including various configurations on browserstack.com), on every website that I can find that uses the Facebook social comments plugin - including Facebook itself!
It looks like Facebook have dramatically changed their comments plugin code. All sites using this plugin will probably have to update their code ASAP because the old code doesn't seem to work any longer.
To get Facebook's own page working, I just had to type in "light" in the Color Scheme box.

Howto publish an embedded video with Facebook's latest PHP SDK?

I know this question has been rised quite a lot of times, but then they constantly change things at Facebook and none of the numerous ways I've discovered on the web, works for me. Maybe it worked before, but not anymore.
I have a web page with a video playing in our skinned jwplayer. All the og tags are beautifully set, so that when a visitor likes the page, it's title, description, thumb and custom flash player are nicely shared on the users wall. Video even plays right there on the wall, in the embedded and customized flash player. So everything works as expected.
But!.. We would like to auto-post our new posts onto the website's page on Facebook and we want them to look exactly like when they are shared. One would probably expect that it'd be enough to simply post a link through PHP SDK and facebook will do the rest. But it doesn't. It seems to not pay attention at og tags in latter case.
What would be the right way to do this? Is it possible to force facebook to look at og tags? Or how to publish a post with a video in a similar way, but through PHP SDK?
One would probably expect that it'd be enough to simply post a link through PHP SDK and facebook will do the rest. But it doesn't.
What exactly are you posting – just a link, or a post containing a link?
(For difference between the two types of creating a feed object see https://developers.facebook.com/docs/reference/api/user/#posts vs https://developers.facebook.com/docs/reference/api/user/#links)
Is it possible to force facebook to look at og tags?
Normally it does without any further action neccessary.
Have you tried, though, putting your new posts URL through Facebook debugger before posting it?

Facebook not fetching all images?

I have wordpress blog with twentyeleven theme setup. I have facebook button and I beleive all facebook garph api codes are exist in head part. Now the problem is there are more than 4 images exist on the page, but facebook like button only fetching one image everytime. And trust me that is a huge problem for me.
Can someone help me fix the issue.
here is the link if you wanna take a look at: http://j.mp/GSfWKb
thanks
While I can't confirm this is how Facebook approaches it, the og: meta tags only appear to work for actual like buttons, not Facebook sharing buttons (which are depreciated anyway).
According to this question you can try and put in a link tag and that may work for the share button you have. Facebook Post Link Image