Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to LIKE a Facebook Page via the API?

Is it possible to LIKE a Facebook Page via the Open Graph API?

Maybe POST to "http://graph.facebook.com/#{FB_PAGE_ID}/likes ???

This is the only thing I could find in the API about creating a LIKE:

/POST_ID/likes like the given post none

like image 963
tdewell Avatar asked Dec 07 '10 16:12

tdewell


People also ask

Does Facebook allow API?

7. Access and post content in Facebook Groups. The Facebook API allows your app — and your app users — to access and manage content in their Facebook Group. With this API, you can let people publish content from your app to their Group.

What can you do with Facebook API?

The Graph API is the primary way to get data into and out of the Facebook platform. It's an HTTP-based API that apps can use to programmatically query data, post new stories, manage ads, upload photos, and perform a wide variety of other tasks.

Is the Facebook API free?

In the newest version of the Graph API (v2. 9), we're announcing features that simplify development, making it even easier to build apps and experiences with Facebook. We're providing free access to over 140 million places around the world, the same data that powers Facebook, Instagram, and Messenger.


1 Answers

Actually, it's not possible. You can not like pages. Check this: 'Like' a page using Facebook Graph API . I had to use a website to do like a page.

The error I always got was something about permission whitelist. It seems that this specific function is only available for specific apps.

At the top of my head, I think you can get a edge create notification with the javascrip sdk that you can use as callback for adding a fb page

like image 80
Blitz Avatar answered Sep 28 '22 18:09

Blitz