简体   繁体   中英

Get google+ reviews using Google Places API

I'm trying to debug something very weird.

I want to get reviews using Google Places API from this url: Henderson Nisan

What I did?

Problem is that those reviews which you can see on above printscreen are not corresponding to the reviews that are on the page of Henderson Nisan

Any kind of help will be acceptable. What I miss? Did I use wrong Place ID?

Thanks

I've done what you've done:

  1. searched for Henderson Nissan in https://developers.google.com/places/place-id , the returned place-id was ChIJlfPkKh_RyIARWKYl-XpSyAQ (not ChIJoV7T0hjRyIAR24qv5IfRcWM )
  2. used this place-id to fetch results: https://maps.googleapis.com/maps/api/place/details/json?placeid=ChIJlfPkKh_RyIARWKYl-XpSyAQ&key=mykey

  3. the reviews there are related to the particular google+ page

it's not clear how you got the place-ID ChIJoV7T0hjRyIAR24qv5IfRcWM , but it's clear that the detailsRequest to https://maps.googleapis.com/maps/api/place/details/json?placeid=ChIJN1t_tDeuEmsRUsoyG83frY4&key=MY_API_KEY uses a completely different place-ID: ChIJN1t_tDeuEmsRUsoyG83frY4 (for Google-Sydney )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM