【问题标题】:Google Places API: Does textSearch supports multiple page results?Google Places API:textSearch 是否支持多个页面结果?
【发布时间】:2012-07-09 17:15:20
【问题描述】:

我正在尝试使用 next_page_token 参数从 textSearch 调用中获取下一页结果,但总是收到 REQUEST DENIED 错误。根据Accessing Additional Results in google places search,文档中存在错误,应使用 pagetoken 而不是 page_token。我都试过了,但对我不起作用。如果多页结果可用于 textSearch,我在文档中找不到任何位置。

【问题讨论】:

标签: google-places-api


【解决方案1】:

应该为下一页查询指定“sensor”参数。根据文档“设置 pagetoken 将导致任何其他参数被忽略”,这是不正确的,您必须指定“传感器”和“关键”参数。

【讨论】:

    猜你喜欢
    • 2012-08-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-10-21
    • 1970-01-01
    • 1970-01-01
    • 2012-03-25
    • 2012-10-15
    相关资源
    最近更新 更多