且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

“无法验证您的身份."- 使用 Twitter OAuth 时出错

更新时间:2021-09-09 21:56:31

Snipe.net 教程适用于较旧版本的 TwitterOAuth.请务必阅读新文档

The Snipe.net tutorial is for an older version of TwitterOAuth. Make sure you read the new documentation

http://github.com/abraham/twitteroauth/blob/master/DOCUMENTATION

总的来说,更新到新版本正在发生变化:

In general updating to the new version is changing:

$content = $to->OAuthRequest('https://twitter.com/account/verify_credentials.xml', array(), 'GET');

到:

$content = $to->get('account/verify_credentials');