Hi
Can we add a like to youtube video programmatically.
Thanks
Hi
Can we add a like to youtube video programmatically.
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ramco RamcoPosted Feb 16, 2023, 10:08 AM
Hi Naimish
I am getting this error - Error: Invalid protocol for auth URL. Only HTTP and HTTPS protocol are allowed.
Url is - https://oauth2.googleapis.com/token
Thanks
Naimish MakwanaPosted Feb 16, 2023, 9:26 AM
Hello Ramco,
Refer below link. Its provide the functionality to get accesstoken in postman.
https://hmh.engineering/how-to-get-oauth-access-token-and-retrieve-data-from-google-apis-using-postman-9a95ffe030ae
Thanks
Naimish
Ramco RamcoPosted Feb 16, 2023, 9:15 AM
Hi Nimish
I am getting this error - {
"error": "unsupported_grant_type",
"error_description": "Invalid grant_type: client_credentials"
}
What is to be given in - request.AddParameter("grant_type", "client_credentials");
Thanks
Naimish MakwanaPosted Feb 16, 2023, 9:07 AM
Hello Ramco,
Try below code.
Thanks
Naimish Makwana
Ramco RamcoPosted Feb 16, 2023, 8:59 AM
Hi Naimish
Will it be possible to provide any sample code. I have Api Key , Client Id, Client Secret
Thanks
Naimish MakwanaPosted Feb 16, 2023, 8:24 AM
Hello Ramco,
For Access Token, you need to refer below link:
https://developers.google.com/identity/protocols/oauth2
Thanks
Naimish Makwana
Ramco RamcoPosted Feb 16, 2023, 8:17 AM
Hi Naimish
How i can get Access Token
Thanks
Naimish MakwanaPosted Feb 16, 2023, 7:24 AM
Hello Ramco,
Sample Code:
Thanks
Naimish Makwana
Ramco RamcoPosted Feb 16, 2023, 7:20 AM
Hi Naimish
Can u pls provide any sample code
Thanks
Naimish MakwanaPosted Feb 16, 2023, 4:55 AM
Hello Ramco,
You can use below API
https://www.googleapis.com/youtube/v3/videos/rate
Thanks
Naimish Makwana