【发布时间】:2017-11-15 13:34:38
【问题描述】:
我已经收到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 中找到,但是我需要什么请求才能做到这一点?
【问题讨论】:
标签: php twitter twitter-oauth