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.
(http://localhost:1410/,)
1.4m articles
1.4m replys
5 comments
57.0k users