Hi, I have a problem with my FB like button. Here is what i observed about its abnormality; 1 - When I click like, the count turns to 1 and then drops back to 0 immediately. However, this only happens on new posts, the old ones, are being liked with no issue. 2 - If i share the link of that post on Facebook, and then when people like the link, the count of that post on the website increases respectively. Once the count (total likes) are anything above 10, I can like the post and the count gets a + 1 with no issue. The header of the site has all the necessary meta tags for the like button to work <html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" onkeypress="keyfind(event)"> <head prefix="og: http://ogp.me/ns/fb#"> <meta name="title" content="xxxxxx" /> <meta property="og:title" content="xxxxxx"/> <meta property="og:site_name" content="xxxxxx"/> <meta property="og:url" content="xxxxxx"/> <meta property="og:type" content="article" /> <meta property="fb:app_id" content="xxxxxx"/> <meta property="og:image" content="xxxxxx" / > Code (markup): What am i missing ?
Do you mean adding this in the header or something else ? <link rel="canonical" href="xxxx" /> I have already added it in the header, and the problem still exists, anyother advice ?
on FB script. last time i my Google + button like yours. but i try to add rel="canonical" on thier script. it's work smoothly. you can find that information at G+ badge.
<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=xxxxxxxxx"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> Code (markup): this is the script, Can you tell me how do i put the canonical link in this
last time i try like this. maybe this can helping you out. or you can see on this. https://developers.google.com/+/plugins/+1button/