Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

Connecting R to YouTube with "Tuber" - Unable to read token error

$
0
0

I am receiving an error when attempting to open an OAuth connection from R to YouTube so as to collect analytics on a channel

There are similar questions on the site already but with different errors and consulting them already I'm unable to determine the problem.

As this guide directs https://cran.r-project.org/web/packages/tuber/vignettes/tuber-ex.html I setup the application and got the ID and secret, similar to this user (I also have not completed any boxes for URLs, as I am not trying to create any sort of public application, simply a connection to go into a YT channel:

tuber: connect R with Youtube API

I have also enabled all of the YouTube APIs as directed. WHen I run the required code for OAuth:

yt_oauth("App_ID", "App_Secret")

I got the following:

Error in yt_oauth("App_ID",  :   Unable to read token from:.httr-oauth

I have tried a number of other options based on other answers however to find the root of the problem, I have just posted the first error I am receiving.

Thanks.


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>