atymic / twitter

Twitter API for Laravel 5.5+, 6.x, 7.x & 8.x

Home Page:https://atymic.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getAccessToken() must be of the type string, null given

jonathanstoker opened this issue · comments

After login i'm getting redirect and the url is perfect containing an oauth_token, but i keep receiving the following error in production:

Argument 1 passed to Atymic\Twitter\ApiV1\Service\Twitter::getAccessToken() must be of the type string, null given, called in /var/www/laravel/routes/web.php on line 56

On local machine it works perfectly.