diff -r 15a1a28f609a -r 8b3d57a519eb web/client.php --- a/web/client.php Fri Jun 15 08:40:12 2018 +0000 +++ b/web/client.php Mon Jun 18 23:15:34 2018 +0200 @@ -1,13 +1,13 @@ getRequestToken(); - $_SESSION['TWITTER_REQUEST_TOKEN'] = serialize($token); + // /** + // * Guess we need to go get one! + // */ + // $token = $consumer->getRequestToken(); + // $_SESSION['TWITTER_REQUEST_TOKEN'] = serialize($token); - /** - * Now redirect user to Twitter site so they can log in and - * approve our access - */ - $consumer->redirect(); + // /** + // * Now redirect user to Twitter site so they can log in and + // * approve our access + // */ + // $consumer->redirect(); + $get_twitter_request_token(); } else { if (isset($_SESSION['TWITTER_REDIRECT_URL'])) { unset($_SESSION['TWITTER_REDIRECT_URL']);