node.js - unable to access google places api after passing next page token in nodejs -
hi i'm trying access belo url using nodejs client
i'm using normal https client code access . when hit url without passing page token working fine.but wheni pass i'm getting error below
invalid request
dont know going wrong.any appreciated.
how time passes between 2 requests? i've found as 2 second delay before pagetoken
request can necessary.
there short delay between when next_page_token issued, , when become valid. requesting next page before available return invalid_request response. retrying request same next_page_token return next page of results.
https://developers.google.com/places/documentation/search#placesearchpaging
Comments
Post a Comment