Instagram not returning pagination object when searching photos by location -


i'm trying fetch links photos area this site does, i'm not getting next_url next page of photos, example use this:

https://api.instagram.com/v1/media/search?lat=20.881512&lng=-103.83429&distance=5000&access_token=access_token

but don't in response part:

{ "pagination":{ "next_url":"https#//api.instagram.com/v1/users/319505/media/recent?access_token=token&max_id=407185589491099817_319505", "next_max_id":"407185589491099817_319505" }, "meta":{ "code":200 }, "data":["omitted"] }

and official site couldn't find , example. json response:

http://www.jsoneditoronline.org/?id=6fef889a9037081244c7774edd73367b

i understand locations doesn't contain many photos or no photos @ all, tried turistic place (like paris,france) avoid sort of problem no result. doesn't happen when try search tags, ideas? bug?

put &count=-1 @ , of url.

like this: https://api.instagram.com/v1/users/(userid)/media/recent/?access_token=(accesstoken)&count=-1


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -