Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api call more vine videos #14

Closed
chrism91 opened this issue Jun 4, 2015 · 7 comments
Closed

api call more vine videos #14

chrism91 opened this issue Jun 4, 2015 · 7 comments

Comments

@chrism91
Copy link

chrism91 commented Jun 4, 2015

where would one modify the size of the call to lower redundancy from refreshing each page?

somewhere within bootstrap.js?

@Phil-Dean
Copy link

I'm not sure what @chrism91 means, but the title being "api call more vine videos " seems to be exactly what I'm looking for.

In Twitter, they have the since_id parameter to add to a get user data call. In Instagram, they have a min_id parameter to add to a get user data call.

How does one check for updates using the Vine API based off a former post id?

@hult
Copy link
Contributor

hult commented Jun 9, 2015

@chrism91 Not sure i'm following you here. This is a Python SDK for the Vine API intended to be used on the backend.

@naed11 We know exactly the part of the Vine API that we've implemented here. If you find out, you're more than welcome to send a PR to make the implementation more exhaustive. :)

@Phil-Dean
Copy link

🎩 OK, thanks.

@chrism91
Copy link
Author

I was wondering if there was a way to display more like 60-100 videos at a time. Request a larger page of information for your app to display. I have gone another route with my data project, but I still wonder

@Phil-Dean
Copy link

@chrism91 Just use the pagination data, page #, that comes with each call, and build a bigger data set on your end.

@hult hult closed this as completed Aug 26, 2015
@kilickaya
Copy link

Could you please make it more clearer? I also would like to retrieve more results for my search of a certain tag, for example "rafting". When I search for

api.vineapp/tags/search/rafting

It only retrieves top-20 result. How can I get more results, aka, changing the pagination parameter? Should I add something like ../rafting?=2 to get results from the second page?

@Phil-Dean
Copy link

@kilickaya you need to read the data set coming back on the first request and locate the pagination meta data, and then using data->nextPage from the data set to append ?page=PageNum to the original request URL as a query string.

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

No branches or pull requests

4 participants