访问其他的结果在谷歌搜索的地方 [英] Accessing Additional Results in google places search
问题描述
喜的
我想从的谷歌Places API所的地方。
在我第一次拿到了第20的结果,但我用它第二次与请求next_page_token
是这样的:
for the first time I got the first 20 result but when I use it second time with the request "next_page_token"
like this :
<一个href=\"https://maps.googleapis.com/maps/api/place/search/json?page_token=CkQ3AAAADjez7YyK689hZ1LwKAvXMEEuoMNwFn7tAHW5w4R6B9Izqo901-5lsC4Zk4lsFjwei0LIKmwknTAvSSJsEvclmhIQ8K9Ike7Yw8JCbAf83lGYvhoU80XJzsq0JhuedXnz5MhnqTDXxoQ&key=AddYourOwnKeyHere\" rel=\"nofollow\">https://maps.googleapis.com/maps/api/place/search/json?page_token=CkQ3AAAADjez7YyK689hZ1LwKAvXMEEuoMNwFn7tAHW5w4R6B9Izqo901-5lsC4Zk4lsFjwei0LIKmwknTAvSSJsEvclmhIQ8K9Ike7Yw8JCbAf83lGYvhoU80XJzsq0JhuedXnz5MhnqTDXxoQ&key=AddYourOwnKeyHere
然后我得到的响应是 REQUEST_DENIED
是我做错了什么。
推荐答案
试试这个:
<一href=\"https://maps.googleapis.com/maps/api/place/search/xml?pagetoken=ClRBAAAAxvr8aF....LiOZ6WQlrmnsux8_icrApjJOIky&location=46.2058000,-1.1645000&radius=500&sensor=false&key=your\" rel=\"nofollow\">https://maps.googleapis.com/maps/api/place/search/xml?pagetoken=ClRBAAAAxvr8aF....LiOZ6WQlrmnsux8_icrApjJOIky&location=46.2058000,-1.1645000&radius=500&sensor=false&key=your这里的关键
pagetoken代替page_token ...
pagetoken instead of page_token ...
这篇关于访问其他的结果在谷歌搜索的地方的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!