YouTube channel subscribe for Android -


i using youtube api within app. users can log in google+ account. user able subscribe youtube channels.

there seems web here: https://developers.google.com/youtube/subscribe/

but can't find suited android. missing documentation or there workaround?

you don't need specific android library subscribe authenticated user specific channel. send authenticated post request subscriptions/insert endpoint channelid of channel want subscribe part param snippet:

http post https://www.googleapis.com/youtube/v3/subscriptions?part=snippet&key={your_api_key} 

request body:

{     "snippet": {         "resourceid": {             "channelid": "xxxxx" // channel id want subscribe         }     } } 

Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -