youtube data API to rate the video youtube data API to rate the video json json

youtube data API to rate the video


you can not directly rate from the url. you need to use full rating code to give rate.Youtube API

because firstly google authenticate of your application then it allows you to give rate Not directly from the Your link


First off please tell use what language you are using I cant figure it out exactly from your code.

Videos: rate Add a like or dislike rating to a video or remove a rating from a video.

POST https://www.googleapis.com/youtube/v3/videos/rate

Remember this call is a http post not a HTTP GET. Ie you cant just place it in a web browser.

example:

POST https://www.googleapis.com/youtube/v3/videos/rate?id=b_bJQgZdjzo&rating=like&oauth_token={YOUR_accessTOken}

I am pretty sure it is oauth_token you use not key or access_token.