user3792699
user3792699

Reputation: 379

How to fetch the processingDetails,fileDetails,suggestions information from the youtube api

I am unable to fetch the processingDetails,fileDetails,suggestions information from the youtube api call. I had used API key to fetch these details but it's not working

First I tried this API Call mentioned below, It's working

https://www.googleapis.com/youtube/v3/videos?id=Skk6MBoejgU&key={API_KEY}&part=snippet,statistics,contentDetails,player

When I tried to fetch processingDetails,fileDetails,suggestions information, It's throwing error message

https://www.googleapis.com/youtube/v3/videos?id=Skk6MBoejgU&key={API_KEY}&part=processingDetails,fileDetails,suggestions

Error message: forbidden

Can anyone help me to solve this issue ?

Upvotes: 1

Views: 1852

Answers (1)

mpgn
mpgn

Reputation: 7251

Because you need to be connected with your YouTube Channel to get this informations.

In fact, this is private informations, you can only get this informations only from your videos.

We can find this information in the doc of YouTube API V3

forbidden (403) forbidden

The request cannot access user rating information. This error may occur because the request is not properly authorized to use the myRating parameter.

Upvotes: 3

Related Questions