‘Like’ a page using Facebook Graph API

Facebook has announced support for liking URL’s outside of Facebook by using the official built-in Like action. You need to have publish_actions permissions. The graph url for this is: https://graph.facebook.com/[User FB ID]/og.likes?object=OG_OBJECT_URL&access_token=USER_ACCESS_TOKEN However, you cannot use this to like a page on Facebook currently, as the documentation states: For Facebook Pages or websites that do … Read more

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

There is a “way” to get some part of fan list with their profile ids of some fanpage without token. Get id of a fanpage with public graph data: http://graph.facebook.com/cocacola – Coca-Cola has 40796308305. UPDATE 2016.04.30: Facebook now requires access token to get page_id through graph so you can parse fanpage HTML syntax to get … Read more

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

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 … Read more

Facebook share link without JavaScript

You could use <a href=”https://www.facebook.com/sharer/sharer.php?u=#url” target=”_blank”> Share </a> Currently there is no sharing option without passing current url as a parameter. You can use an indirect way to achieve this. Create a server side page for example: “/sharer.aspx” Link this page whenever you want the share functionality. In the “sharer.aspx” get the refering url, and … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)