Tal Zion Tal Zion - 5 months ago 41
iOS Question

how to post like and comment on a youtube video programmatically with video ID ios swift

I've authenticated with OAuth2, how can I comment and post likes to a video id's?



Use Youtube data API-

For comments: https://developers.google.com/youtube/v3/docs/comments

For likes: https://developers.google.com/youtube/v3/docs/videos/rate

Please note that there are daily/monthly cap on API usage. You can check all the quotas in your Google API console. Don't forget to have a look at this quota calculator.