A
A
Alexey Dugnist2017-02-13 19:49:01
Facebook
Alexey Dugnist, 2017-02-13 19:49:01

Why is the Facebook API not liking a post?

I use Graph API Explorer, but I also made requests from the code.
The problem is this: I make a request to /{object-id}/likes using the POST method (all perms are specified)
In the current version of the API, the documentation states that everything should work:
https://developers.facebook.com/docs/graph-api/ ref...
but it works for me with an error:
421aeda21e3e44f19032302726fbfd8f.png15b24032aeae4c42bf0dc3c92a337d3f.png
I read that this method only works for Pages and a Page Access Token is required.
In addition to the rights - I created a public page, logged in through it and requested publish_pages.
ccbdc2f457c8481580e78d6b446785bb.png
Also an error, I also tried to like posts from individual pages and groups and public pages. Same error.
Does liking Facebook posts through the API work at the moment, and if so, what could I have missed...?
The most amazing thing is that the request to /{object-id}/comments POST method works without additional magic, right out of the box.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question