facebook-like

How do you get the total likes for a URL (Likes and Shares)?

时间秒杀一切 提交于 2019-11-30 15:57:52
The "Likes" plugin that I've dropped on my page displays both the number of times the button has been directly clicked, as well as the number of times the page URL has been shared or the Like has been commented on. When I use the Graph API to check out my object though, it only shows the number of direct "Like" clicks. Here is an example object: { "id": "17678692xxxxxxx", "name": "The Dali Lama Returns", "picture": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/161984_176786925772923_6855xxxxxxx.jpg", "link": "http://mysite.com/8/the-dali-lama-returns", "likes": 1, "app_id": 478xxxxxxx,

Resize/scale facebook like button (height and width)

家住魔仙堡 提交于 2019-11-30 13:48:32
I couldn't find anywhere (if it's possible) how to resize the whole like button (not it's iframe or the container, but the button itself with the writing and everything). Google+ offers several versions of it's +1 button, the smallest being 15px. For design purposes I need to change (scale) the size of the FB like button to match the layout of the site (in this particular case... scale down to 15px). (according to FB terms and conditions scaling is permitted.) Although you say not the iframe, if you do scale the iframe with CSS3 it will increase the size of the button. It would probably be

Linter gives “Error parsing URL” error

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-30 13:18:02
GOAL: I'm trying to apply a Like button to my blog - this is my first time trying it. BEHAVIOR: The button shows up, but when someone clicks "Like", the word "error" shows up in red next to the like button. No interaction with Facebook occurs. FIX TRIED: I've tried both the iframe and the html5 implementation, same behavior using both methods. FIX TRIED #2: The word "error" shows up as a hyperlink suggesting I use the Facebook Linter, so I did. However, when I put in my URL, the Linter gives this error: Error Parsing URL: Error parsing input URL, no data was scraped. I've tried my blogs main

Is it possible to validate the xmlns:fb (Facebook) attribute?

半世苍凉 提交于 2019-11-30 11:54:34
问题 I have a Facebook Like button on my site and as such also have the xmlns:fb attribute on the <html> tag: <!DOCTYPE html> <html lang="en" xmlns:fb="http://www.facebook.com/2008/fbml"> However, when running my site through the W3C validator, I get these errors: Line 2, Column 61: Attribute xmlns:fb not allowed here. Line 2, Column 61: Attribute with the local name xmlns:fb is not serializable as XML 1.0. Line 222, Column 72: Attribute fb:like:layout is not serializable as XML 1.0. Line 222,

Facebook like - showing cached version og:image, way to refresh or reindex it?

流过昼夜 提交于 2019-11-30 10:38:00
问题 Having an issue with Facebook like and a cached og:image. Long story short: Facebook has cached an older version of our like image. The meta content URL can't be changed. Is there anything I can do to refresh it? Long story: The site I'm working on has a meta tag for an og:image that Facebook uses when a page is liked. This meta tag uses the same image URL on all pages across the site. The image is simply a branding image for the site. The issue is the site recently updated their branding,

Getting Facebook Like count

拟墨画扇 提交于 2019-11-30 10:34:01
I have integrated Facebook Like into my website.Now i need to get/list the count of the Facebook like in the Admin panel of my website. Is there any way to get this done?Need suggestions.Thanks in advance. Ajeet Sinha In order to get the number of likes of any object using Facebook API, use a Facebook API of your choice and commands like this: https://graph.facebook.com/< your object id>/ You will receive a JSON object and you can extract the number of likes from it: { "id": "567454", "link": "http://www.facebook.com/pages/PHP-Developer/103146756409401", "likes": 250, "type": "page" } More

Facebook like count is suddenly zero

梦想的初衷 提交于 2019-11-30 09:57:00
问题 I found a weird bug on my ( Wordpress ) site today... Yesterday, my likes were still there. I didn't change any code or did something whatsoever (which is why I hope and guess it's a Facebook bug), but suddenly I saw that my website's page has 0 (zero) likes ... Weird, because when I check my Facebook like button's page, I can see the exact amount of like still there, but not on my like button on the website... What could be the problem? I checked with the linter tool and there are no

Merging a website's likes into a Facebook page [closed]

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-30 09:02:18
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . We launched our website before we started our Facebook page, and it got something like 2k likes. But those likes, obviously, were for our .com domain itself. Now our like button points at our new Facebook page instead, which has 161 likes. We want to "claim" the likes from our .com domain name under the banner

Get FB likes count for specific URL and page

房东的猫 提交于 2019-11-30 05:21:00
This is a two questions in one. Is it possible to get the likes count to a specific page inside a website? As in if there's a like button without a specific target url, likes will be given to the address in the window.location.href ; can this number be retrieved without an API key? Is it possible to get the official Facebook page/page id if I only have the URL of the website? If i only have the URL / domain name (coca-cola.com), can I get the facebook page which is https://www.facebook.com/cocacola ? You can check the like count of a website by calling the Graph like the following: https:/

Facebook Like without Confirm?

强颜欢笑 提交于 2019-11-30 05:14:39
I think I have the same issue as here , but can't quite get enough out of the answers over there. I'm using a Like button (in an iframe on a Static XFBML page) to allow users to Like a YouTube video, with the intention that since the user clicks Like it shares it to their Wall. What happens is that they click Like, it says "You like this", but nothing is posted, and then after a random short interval the Like button is replaced by a Confirm hyperlink. What I really want is no "Confirm" stage because a) it's clunky and b) the user has probably left the page by then. I know there's at least one