protected function verifyAccessToken($oAuthVerifier) {
		$uri = new Uri('https://api.twitter.com/oauth/access_token');
		$request = Request::create($uri, 'POST', array('oauth_verifier' => $oAuthVerifier));
		$request = $this->requestSignatureGenerator->signRequest($request);
		$request->setHeader('Content-Type', 'application/x-www-form-urlencoded', TRUE);

		$response = $this->requestEngine->sendRequest($request);
		$responseData = array();
		parse_str($response->getContent(), $responseData);
		$responseData['statusCode'] = $response->getStatusCode();

		return $responseData;
	}
protected function verifyAccessToken($oAuthVerifier) {
		$uri = new Uri('https://api.twitter.com/oauth/access_token');
		$request = Request::create($uri, 'POST', array('oauth_verifier' => $oAuthVerifier));
		$request = $this->requestSignatureGenerator->signRequest($request);
		$request->setHeader('Content-Type', 'application/x-www-form-urlencoded', TRUE);

		$response = $this->requestEngine->sendRequest($request);
		$responseData = array();
		parse_str($response->getContent(), $responseData);
		$responseData['statusCode'] = $response->getStatusCode();

		return $responseData;
	}
protected function verifyAccessToken ( $ oAuthVerifier ) { $ uri = new Uri ( 'https://api.twitter.com/oauth/access_token' ) ; $ request = Request :: create ( $ uri , 'POST' , array ( 'oauth_verifier' => $ oAuthVerifier ) ) ; $ request = $ this -> requestSignatureGenerator -> signRequest ( $ request ) ; $ request -> setHeader ( 'Content-Type' , 'application/x-www-form-urlencoded' , TRUE ) ; $ response = $ this -> requestEngine -> sendRequest ( $ request ) ; $ responseData = array ( ) ; parse_str ( $ response -> getContent ( ) , $ responseData ) ; $ responseData [ 'statusCode' ] = $ response -> getStatusCode ( ) ; return $ responseData ; }
Request the final token and secret with the given oauth_verifier.

@param string $oAuthVerifier
@return array Should have keys "statusCode", "oauth_token" and "oauth_token_secret"
Request the final token and secret with the given oauth_verifier .