Thursday, May 24, 2018

How do I update/change a Page's location to reflect the page as a Service Area Business(no street etc)?

Leave a Comment

I know this is possible via the user interface: UI

I have a page that I manage and want to know how I can do this via the Graph API. Sending an empty string for street key keeps returning "(#200) Permissions error". :(

Looks like location field is a mandatory field and needs to have at least street & zip code.

Graph API documentation

1 Answers

Answers 1

https://developers.google.com/maps/documentation/javascript/places

Two ways:

  1. Service Area = f ( center, categories, distance)
  2. Service Area = f ( q, categories, distance) //this is your answer

q means the name of the location. If you want to search Little Rock city, provide "Little Rock" there. Based on distance value you can increase/decrease your Service Area.

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment