S
S
Space2015-07-01 16:10:02
YouTube
Space, 2015-07-01 16:10:02

YouTube API. How to get users?

How can I get a list of channels for the query "hello world"? Does YouTube allow this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
riot26, 2015-07-01
@riot26

It seems like you need to use the same query as for searching for a video. (Documentation on
Search: list) .
And in the response, if after json_decode we get $response['items']['id']['kind'] == 'youtube#channel' , then this item will be a channel if 'youtube#video' or 'youtube#playlist' ' — respectively, video and playlist.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question