Facebook Post Search API Deprecated?

I try to search through the Facebook API and get the following error from Facebook - (#11) Post search has been deprecated

The URL I use to request the graph: https://graph.facebook.com/search?q=search_query&type=post&access_token={access_token}

Any ideas why this is happening since I cannot find anything about the fact that the mail search is out of date?

+7
facebook-graph-api
source share
3 answers

UPDATE

Graph API v1.0 is completely deprecated and is no longer available as a workaround. Original answer below for reference.


Yes, GraphAPI version 2.0 no longer allows you to search for messages. See Updated Documentation .

You can continue to search for messages by changing the API call:

 https://graph.facebook.com/v1.0/search?q=search_query&type=post&access_token={access_token} 

those. add v1.0/ after https://graph.facebook.com/

+14
source share

As mentioned by Niraj Shah , post search is already the Legacy API and can be used with the path /v1.0/search? Type = post, BUT there is another problem - your application cannot use API v1 .0 if it was created after April 30, 2014. Therefore, be careful. According to this answer.

+9
source share

According to Facebook, β€œAll Facebook-enabled applications will be automatically updated to API v2.0 on April 30, 2015. If you have mobile applications, you will need to update the application well before this date - leaving additional weeks for people to download your update from store, and Open Mail Search is no longer available.

Check this out for details: https://developers.facebook.com/docs/apps/upgrading

+4
source share

All Articles