Facebook Graph API
While try to post likes, I am getting below error.
{
"error": {
"message": "(#3) Publishing likes through the API is no longer available",
"type": "OAuthException",
"code": 3,
"fbtrace_id": "C9I3NJ2I9Gt"
}
}
http://prnt.sc/d973z5
So anyhow, I can post a likes to object/post?
Is there any other way to do same thing?
API Version Deprecations: As part of Facebook's Graph API and Marketing API, please note the upcoming deprecations: August 3, 2021: Graph API v3. 3 will be deprecated and removed from the platform. August 25, 2021 Marketing API v9.
In the App Dashboard Settings > Advanced, scroll to the Upgrade API Version section.
Apparently, Facebook has removed the feature. Here is the response from facebook team. :(
Shireesh Asthana:Facebook Team
Hi everyone,
Thanks again for reporting this and for your patience. We made the difficult decision to restrict access to this functionality of the Graph API to better maintain the quality standards of our community.
We're sorry that we had to take this step. Thank you for helping us keep the Facebook platform a safe place for our community and developers.
Thanks,
Shireesh
https://developers.facebook.com/bugs/1754734484744033/
Yes facebook removed this feature permanently you can only do with page access tokens and only pages can like the post of any other pages.
You can read our updated docs & changelog here: Docs: https://developers.facebook.com/docs/graph-api/reference/v2.8/object/likes Changelog: https://developers.facebook.com/docs/apps/changelog
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With