-
Notifications
You must be signed in to change notification settings - Fork 204
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
Order results searchChannelVideos #20
Comments
@IgorKostine the order by date attribut option works correctly like this : $videos = Youtube::searchChannelVideos("app", "UCK8sQmJBp8GCxrOtXWBpyEA", 10, 'date'); it returns |
Thank you for your answer ! :) |
This is not explicitly supported with this package, maybe will add it later, for now you can just leave the query parameter empty and it will get you all user videos ordered by date : $videos = Youtube::searchChannelVideos("", "UCK8sQmJBp8GCxrOtXWBpyEA", 50, 'date'); |
It works ! |
Hi !
I have a problem with searchChannelVideos, i can not order the results.
Youtube::searchChannelVideos('video', '.....', $limit, 'date');
The method returns false to me.
'date' it's a valid value after the documentation..
https://developers.google.com/youtube/v3/docs/search/list#order
Thank you !
The text was updated successfully, but these errors were encountered: