Return user data
ShSoS opened this issue · comments
Hello,
Thank you for library. It's work perfectly.
I have a question about user information.
Is it possibility to get more data than twitter id and username?
I check ./application/library/Twitteroauth.php
function getAccessToken($oauth_verifier) {
$parameters = array();
$parameters['oauth_verifier'] = $oauth_verifier;
$request = $this->oAuthRequest($this->accessTokenURL(), 'GET', $parameters);
$token = OAuthUtil::parse_parameters($request);
$this->token = new OAuthConsumer($token['oauth_token'], $token['oauth_token_secret']);
return $token;
}
I understand the callback function in controller use function above to get user data.
Can i retrieve more data like user profil picture, email, first name, last name?
Thank you