Get google plus url based on place_id Google Places API?

How do I get the .google plus page of the corresponding google site based on place_id that I get from json returned by maps.googleapis.com/maps/api/place?

+4
google-places-api
source share
2 answers

Perhaps you can use the Place Place api using place_id?

https://developers.google.com/places/documentation/details

+2
source share

Now it looks like an old post, but I wanted to add some details. Location Details: API provides google url and url:

Quote from https://developers.google.com/places/documentation/details :

The URL contains the URL of the official Google page for this place. This will be the Google+ page, if the Google+ page exists,

If you have place_id, use:

https://maps.googleapis.com/maps/api/place/details/json?key=your_key&placeid=interested_place_id

Look for the key "url".

This is another question if you want to extract data from this page. I don't know if Google has an API for this.

-one
source share

All Articles