Answer the question
In order to leave comments, you need to log in
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:
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.
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 questionAsk a Question
731 491 924 answers to any question