我正在尝试在应用程序hello.js和oauth-shim中通过Twitter API进行身份验证。它在大多数时间都有效,但有时会崩溃。
client_id,oauth_token,oauth_verifier,redirect_uri等照常存在,但是我收到以下错误和error_message消息,而不是登录名。
data:
{ error: 'invalid_oauth_token',
error_message: 'The oauth_token was not recognised',
state: '{"client_id":... }
}
我已经使用了一段时间,但是调试它并没有运气,感觉卡住了。该问题似乎随机出现,所以我找不到会导致这种情况的模式。
任何帮助将不胜感激。谢谢!