我正在使用twitter的oauth,并且我遇到了一个奇怪的问题。如何从twitter中的oauth键获取用户名
我如何使用他们的令牌和秘密获取用户的个人资料信息?
下面是即时通讯使用的是什么现在
function OauthGetProfile($consumerkey, $consumersecret, $oauthtoken, $oauthsecret){
$to = new TwitterOAuth($consumerkey, $consumersecret, $oauthtoken, $oauthsecret);
$content = $to->OAuthRequest('http://twitter.com/statuses/user_timeline.xml', array('count' => '50'), 'GET');
return $content;
}
林不知道如何得到这个,API调用来获得您的个人资料需要您指定的人员配置文件,这是我需要他们的ID做。