Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Graph API : Publishing likes through the API is no longer available

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?

like image 609
Niko Jojo Avatar asked Nov 19 '16 11:11

Niko Jojo


People also ask

Is Facebook graph API deprecated?

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.

How do I update my graph API on Facebook?

In the App Dashboard Settings > Advanced, scroll to the Upgrade API Version section.


2 Answers

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/

like image 61
Venkat Kotra Avatar answered Oct 20 '22 06:10

Venkat Kotra


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

like image 27
Faisal Raheem Avatar answered Oct 20 '22 04:10

Faisal Raheem