Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Pagination in venues/Photos seems not to work #21

Open
rolivares opened this issue Jul 17, 2011 · 3 comments
Open

Pagination in venues/Photos seems not to work #21

rolivares opened this issue Jul 17, 2011 · 3 comments

Comments

@rolivares
Copy link

I'd try to fetch paginate photos from a venue, but the offset param seems not to work

any idea or working example code??

@jmathai
Copy link
Owner

jmathai commented Jul 17, 2011

Can you paste in your code which doesn't work?

@rolivares
Copy link
Author

$venue = $fsObjUnAuth->get('/venues/4bbf6e7fb083a5931c6da3e9/photos', array('group' => 'venue','offset' => '2', 'limit' => '10') );

And the result is always the first 10 photos, no matter which the offset value is.

@rolivares rolivares reopened this Jul 19, 2011
@jmathai
Copy link
Owner

jmathai commented Aug 29, 2011

Can't seem to get their API Explorer to honor the limit.
https://developer.foursquare.com/docs/explore.html#req=venues/4bbf6e7fb083a5931c6da3e9/photos%3Fgroup%3Dvenue%26offset%3D2%26limit%3D10

All this library does it append the parameters passed in to the query string. Can you post on the FS api group?

I'm really swamped and don't have a ton of time to resolve this. But the library is simple and acts as a passthrough for the parameters - doesn't do anything special IIRC.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants