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

How can I retrieve a channels latest uploads? #89

Closed
joedawson opened this issue Jan 20, 2018 · 2 comments
Closed

How can I retrieve a channels latest uploads? #89

joedawson opened this issue Jan 20, 2018 · 2 comments

Comments

@joedawson
Copy link

Hello,

Is it possible to fetch a channels latest uploads? I'm trying to use listChannelVideos but it doesn't appear to return the latest videos.

Am I doing something wrong?

Thanks in advance.

@alaouy
Copy link
Owner

alaouy commented Jan 20, 2018

@joedawson You can pass 'date' in the order parameter of listChannelVideos signature here
Like this :

$videos = Youtube::listChannelVideos('channelId', 10, 'date')

@joedawson
Copy link
Author

Thanks @alaouy, that works perfectly.

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

2 participants