gojiplus / tuber

:sweet_potato: Access YouTube from R
http://gojiplus.github.io/tuber
Other
184 stars 55 forks source link

Reset to out-of-band authentication instead of .httr-oauth from the httpuv package #62

Open holnburger opened 6 years ago

holnburger commented 6 years ago

I've installed tuber on my ubuntu RStudio Server. As I'm running R in my browser, there's of course no possibility that I'm able to use the httpuv generated .httr-oauth file as my browser isn't able to redirect to my server via localhost:1410.

But the first time I called the yt_oauth function, muscle memory kicked in and I selected option 1 (use the .httr-oauth file) instead of 2. (out-of-band option).

Somehow I'm not able to find the possibility to enable option 2 after I selected option 1. I tried removing the httpuv package, but tuber is dependent on it, wether or not I've selected option 1 or 2.

I removed the existing .httr-oauth file manually and with yt_oath(keys, remove_old_oauth = TRUE) but I can't "reselect" option 2 instead of 1. Am I missing something?

cschwem2er commented 5 years ago

@soodoku couldn't this and other issues be solved by also allowing authentification via API key?

Edit: although, if I understand it correctly, this would not enable the use of every endpoint right? E.g. for captions the docs state: "Your request must be authorized using OAuth 2.0."

davisj95 commented 4 years ago

I have this same issue as well. Is there any update?