How do I get "My Subscriptions" via the YouTube API?
I can't get "My Subscriptions" via the YouTube API. My request looks like this:
GET:
https://www.googleapis.com/youtube/v3/subscriptions?part=snippet&mySubscribers=true&maxResults=10&access_token=token
And I get this result:
{
"kind": "youtube#subscriptionListResponse",
"etag": "\"PSjn-HSKiX6orvNhGZvglLI2lvk/UqNA2mAcD_4Y5kPEvnJbwWfXLng\"",
"pageInfo": {
"totalResults": 0,
"resultsPerPage": 10
},
"items": []
}
As you can see, no "My subscriptions" are shown here . What am I doing wrong?
1
Author: Артём Ионаш, 2014-10-14
1 answers
I played with the API, and this request works:
GET https://www.googleapis.com/youtube/v3/subscriptions?part=snippet&mine=true&key={YOUR_API_KEY}
2
Author: Sergiks, 2014-10-15 08:26:12