Im利用“Twitter”号标语和“Twitter4J”号安文。
我的法典在这里失败了:
consumer = new CommonsHttpOAuthConsumer(TWITTER_KEY, TWITTER_SECRET);
provider = new DefaultOAuthProvider("https://api.twitter.com/oauth/request_token",
"https://api.twitter.com/oauth/access_token",
"https://api.twitter.com/oauth/authorize");
// Here:
String authUrl = provider.retrieveRequestToken(consumer, CALLBACK);
在长期等待APIC之后,我例外:
Request token or token secret not set in server reply. The service provider you use is probably buggy.
我怀疑这是Twitter的问题,为什么会发生这种情况,我如何确定这一问题?