Search code examples
androidyoutube-apiandroid-youtube-api

Android: subscribed channel for particular user on youtube


I am working on a app in which I need subscribed channels for a particular user and also details about those channels. I don't know how to do it.

Thanx in advance.


Solution

  • Here is the answer. We need to use youtube.subscriptions.list for this.

    Request message will be like this:

    GET https://www.googleapis.com/youtube/v3/subscriptions?part=snippet&mine=true&key={YOUR_API_KEY}
    

    And the response for that will be:

    200 OK
    

    If you want to try it, you can click here.

    For more reference check here.