Alternatives to deprecated Facebook Places Search API for Web

Viewed 1522

I would like to provide users of my app the search input where they can look for a place that will be later used to publish an online event to Facebook using the Official Events API - there is a requirement that an online event has place ID provided. I am using the JS SDK.

On August 3, 2020 Facebook has removed the Places Search API for Web in their API v8.0 (as for today it's still available in versions prior to v8.0 but I'm not sure how long it will be available, I also wanted to upgrade the API version I'm using in the app). I was trying to find any alternatives to the deprecated endpoint but couldn't find any.

Does anyone know if there are any other options to get the place ID for a given search query?

1 Answers

OK, it looks like I could use Pages Search endpoint with fields=id,name,location and just look for pages that have the location set. However this endpoint needs Page Public Metadata Access permission when not using user access tokens.

Related