Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

youtube api - Failing Google API Authentication in R

I am trying to get Google API authentication but failing. I want to scrape YouTube with R. I set API and Client ID but when I try to connect to my email, it tells me that:

Error 400: redirect_uri_mismatch
The redirect URI in the request, http://localhost:1410/, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/apis/credentials/oauthclient/${your_client_id}?project=${your_project_number}

I think I am failing to get the right URI. At first, I used localhost (http://localhost:1410/,) from what I read online which didn't work. I then used my netlify website which also didn't work. How can I debug this URI problem? Is there a URI that I need to get from rstudio for the connection to work? Thanks.

enter image description here enter image description here

question from:https://stackoverflow.com/questions/65870672/failing-google-api-authentication-in-r

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...