FbF / Laravel-Youtube

A Laravel package to upload videos to a YouTube channel
MIT License
93 stars 31 forks source link

refreshToken not refreshing? #13

Open PootisMann opened 9 years ago

PootisMann commented 9 years ago

After the hour is up it doesn't seem that the token refreshes automatically like it should, leaving me with this error when i try to upload a video: Undefined property: stdClass::$refresh_token

radarseven commented 9 years ago

Also seeing this issue.

razor2611 commented 9 years ago

That happens when you screw something with the refresh token becouse that comes only on the first request, after that you will always recive the response without the refresh token.If you want to fix that delete the record from the database (from fbf_youtube_access_token table), then change the approval_prompt to force from the config file then relogin and after that you can se the approval_prompt back to auto.