>我已经得到了oauth_token
$connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, $access_token, $access_token_secret);
$content = $connection->get("account/verify_credentials");
$request_token = $connection->oauth('oauth/request_token', array('oauth_callback' => 'oob'));
$oauth_token = $request_token['oauth_token'];
我需要为下一步获得oauth_verifier
:
$token = $connection->oauth("oauth/access_token", ["oauth_verifier" => $oauth_verifier]);
我该怎么做?我知道oauth_verifier
可以在 _REQUEST 美元中找到,但我需要什么请求才能做到这一点?
https://code.tutsplus.com/tutorials/how-to-authenticate-users-with-twitter-oauth-20--cms-25713
从上面的链接,你可以有更多信息来验证