Closed ngw closed 10 years ago
I had this problem as well, and it was my mistake. I was using the incorrect client_id
and it looks like you are as well. Your client_id
is your app's OAuth Consumer Key ([SOMETHING_LONG_HERE].apps.googleusercontent.com
). I'm not sure what 'engagement_console'
means to your app, but it's not your OAuth Consumer Key.
Hi, I'm using youtube_it to interact with the youtube API to basically fetch comments and manage some channels using the Oauth2 client. I managed to obtain a valid token using omniauth-youtube, and I have been able to query youtube and get the data I want. Right now I have an access_token, a refresh_token, a dev_key, and pretty much everything needed as specified in the documentation. My problem is that I can't apparently refresh my token once it expires, and I get a response that apparently is not managed by the gem:
How can I solve this problem? I'm doing everything in the console right now so it's honestly not entirely clear how to build the app: should I save in the DB the new refresh_token once I've been able to get it?