【问题标题】:Get google+ reviews using Google Places API使用 Google Places API 获取 google+ 评论
【发布时间】:2016-01-09 05:36:37
【问题描述】:

我正在尝试调试一些非常奇怪的东西。

我想通过以下网址使用 Google Places API 获得评论: Henderson Nisan

我做了什么?

问题是您在上面打印屏幕上看到的那些评论与Henderson Nisan页面上的评论不对应

任何形式的帮助都是可以接受的。我想念什么?我是否使用了错误的地点 ID?

谢谢

【问题讨论】:

    标签: google-maps google-maps-api-3 google-api google-plus google-places-api


    【解决方案1】:

    我已经完成了你所做的:

    1. https://developers.google.com/places/place-id 中搜索Henderson Nissan,返回的place-id 是ChIJlfPkKh_RyIARWKYl-XpSyAQ(不是ChIJoV7T0hjRyIAR24qv5IfRcWM
    2. 使用此地点 ID 获取结果:https://maps.googleapis.com/maps/api/place/details/json?placeid=ChIJlfPkKh_RyIARWKYl-XpSyAQ&key=mykey

    3. 那里的评论与特定的 google+ 页面相关

    不清楚您是如何获得地点 ID ChIJoV7T0hjRyIAR24qv5IfRcWM,但很明显,https://maps.googleapis.com/maps/api/place/details/json?placeid=ChIJN1t_tDeuEmsRUsoyG83frY4&key=MY_API_KEY 的 detailsRequest 使用完全不同的地点 ID:ChIJN1t_tDeuEmsRUsoyG83frY4(用于 Google-Sydney

    【讨论】:

    猜你喜欢
    • 2015-02-27
    • 1970-01-01
    • 2014-09-06
    • 1970-01-01
    • 2015-06-26
    • 2019-02-17
    • 2016-05-02
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多