4

私は Android で Signpost と Twitter4J で Twitter API を使用しています。

私のコードはここで失敗します:

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);

API を長時間待つと、次の例外が発生します。

サーバー応答で要求トークンまたはトークン シークレットが設定されていません。使用しているサービス プロバイダーにはおそらくバグがあります。

これは Twitter の問題ではないかと思います。

4

0 に答える 0