问题
I'm following the steps from this documentation to access Youtube API from R: Google Developers API and Github.
I want to create a shiny app with R to analyse Youtube data: channel subscribers, views, comments ....
The steps I follow:
- I create the project on Google Cloud (Web application) with my Google account.
- I enable Youtube API data.
- Installing and loading
tuber
package in R. - I write this code:
> yt_oauth("app_id", "app_password")
. I show below where I take these two fields. - For getting video stats in R:
> get_stats(video_id="Im69kzhpR3I")
So I get the following error:
Error: HTTP failure: 403
来源:https://stackoverflow.com/questions/42437412/tuber-connect-r-with-youtube-api