4

org.scribe ページにあるチュートリアルに従いましたが、帯域外コールバックがサポートされていないようです。これを解決する方法について、誰かが私を正しい方向に向けることができますか? さらに、org.scribe ライブラリのより包括的なチュートリアルまたはドキュメントが役立ちます。

Exception in thread "main" org.scribe.exceptions.OAuthException: Response body is incorrect. Can't extract token and secret from this: 'Out-of-band ("oob") callbacks are not supported by this implementation.'
at org.scribe.extractors.TokenExtractorImpl.extract(TokenExtractorImpl.java:41)
at org.scribe.extractors.TokenExtractorImpl.extract(TokenExtractorImpl.java:27)
at org.scribe.oauth.OAuth10aServiceImpl.getRequestToken(OAuth10aServiceImpl.java:63)
at org.scribe.oauth.OAuth10aServiceImpl.getRequestToken(OAuth10aServiceImpl.java:39)
at org.scribe.oauth.OAuth10aServiceImpl.getRequestToken(OAuth10aServiceImpl.java:44)
at com.jruehl.tumbleweed.oauth.AuthenticationHandler.HandleAuthentication(AuthenticationHandler.java:30)
at com.jruehl.tumbleweed.TumbleWeed.main(TumbleWeed.java:30)

認証方法を教えてください。ユーザーが PIN をコピーしてアプリケーションに貼り付けるための Web ページを開こうとしましたが、明らかにうまくいきません。

4

1 に答える 1