facebook-like

Facebook API: Get fans of / people who like a page

孤人 提交于 2019-11-26 02:55:23
I'd like to get a list of users who like a certain page or a fan of it. The FB API documentation states that you can only get the count of the fans of a certain page using the social graph, but not a list of the fans. A discussion here Retrieve Facebook Fan Names suggests that one could use an FQL query like SELECT user_id FROM like WHERE object_id="YOUR PAGE ID" to get the number of people who liked the page, but for the same page, it gives an empty response "{}". So I was wondering if anyone has an idea if this can be done. s3m3n There is a "way" to get some part of fan list with their

What's the Facebook's Graph API call limit?

此生再无相见时 提交于 2019-11-26 02:32:14
问题 Is there any restriction in number of calls we make to facebook\'s graph api? and If it is there then how many calls can we make per app daily? 回答1: The best answer to this question from another forum, from Ash Rust in 2010: "After some testing and discussion with the Facebook platform team, there is no official limit I'm aware of or can find in the documentation. However, I've found 600 calls per 600 seconds, per token & per IP to be about where they stop you. I've also seen some application

'Like' a page using Facebook Graph API

不羁的心 提交于 2019-11-26 02:28:57
问题 Using the Graph API I\'d like to be able to have an authorized user \"like\" a page. I tried posting the following https://graph.facebook.com/${PAGE_ID}/likes?access_token=${ACCESS_TOKEN} And I get an HTTP error 500 accompanied by \"Invalid post_id parameter\" in the JSON response body. Looks like the /likes resource is suited to liking a wall post and not a page. How do I get this to work with a page? 回答1: Facebook has announced support for liking URL's outside of Facebook by using the

How can I move a URL via 301 redirect and retain the page's Facebook likes and Open Graph information?

狂风中的少年 提交于 2019-11-26 02:08:41
问题 I understand the og:url meta tag is the canonical url for the resource in the open graph. What strategies can I use if I wish to support 301 redirecting of the resource, while preserving its place in the open graph? I don\'t want to lose my likes because i\'ve changed the URLs. Is the best way to do this to store the original url of the content, and refer to that? Are there any other strategies for dealing with this? To clarify - I have page: /page1 , with an og:url of http://www.example.com

Facebook API: Get fans of / people who like a page

筅森魡賤 提交于 2019-11-26 01:51:04
问题 I\'d like to get a list of users who like a certain page or a fan of it. The FB API documentation states that you can only get the count of the fans of a certain page using the social graph, but not a list of the fans. A discussion here Retrieve Facebook Fan Names suggests that one could use an FQL query like SELECT user_id FROM like WHERE object_id=\"YOUR PAGE ID\" to get the number of people who liked the page, but for the same page, it gives an empty response \"{}\". So I was wondering if