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

Fix for pulling complete comments #243

Open
amalagaura opened this issue Jan 19, 2015 · 1 comment
Open

Fix for pulling complete comments #243

amalagaura opened this issue Jan 19, 2015 · 1 comment

Comments

@amalagaura
Copy link

Thanks for this gem, it is very useful. I used it with the v2 API because I need comments.

I did this monkey-patch to add 2 methods to allow pulling all comments using the "next" url in the response. I don't know what approach can be used to properly integrate but the methods need to return metadata instead of only comments.

Please see if it is useful. It has to be called with the option: {'orderby' => 'published'}

https://gist.github.com/amalagaura/8821f2b26cc3b00a1b13

@amalagaura
Copy link
Author

Oh I see you have done paging with videos. Sorry I did not see that. If you like I can try to do a proper pull request, but it would mess up the "comments" method of course because it would return a different object.

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

1 participant