2

我尝试集成linkedin以使用许多教程和帖子共享数据,但没有任何帮助,登录后无法移动到下一页而是重定向到上一个页面,最后检查了密钥,使用其他用户密钥 m 能够共享发布问题在于提供回调网址

public static final String OAUTH_CALLBACK_URL = "x-oauthflow-linkedin"
    + "://" + "litestcalback";

有人知道怎么给网址吗?

堆栈跟踪

02-06 16:18:49.786: E/AndroidRuntime(393):      at an  droid.os.Handler.dispatchMessage(Handler.java:92)
02-06 16:18:49.786: E/AndroidRuntime(393):      at and roid.os.Looper.loop(Looper.java:123)
02-06 16:18:49.786: E/AndroidRuntime(393):      at android.app.ActivityThread.main(ActivityThread.java:3683)
02-06 16:18:49.786: E/AndroidRuntime(393):      at jav a.lang.reflect.Method.invokeNative(Native Method)
02-06 16:18:49.786: E/AndroidRuntime(393):      at java.lang.reflect.Method.invoke(Method.java:507)
02-06 16:18:49.786: E/AndroidRuntime(393):      at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
02-06 16:18:49.786: E/AndroidRuntime(393):      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
02-06 16:18:49.786: E/AndroidRuntime(393):      at dalvik.system.NativeStart.main(Native Method)
02-06 16:18:49.786: E/AndroidRuntime(393): Caused by: oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: https://api.linkedin.com/uas/oauth/requestToken
02-06 16:18:49.786: E/AndroidRuntime(393):      at oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:214)
02-06 16:18:49.786: E/AndroidRuntime(393):      at oauth.signpost.AbstractOAuthProvider.retrieveRequestToken(AbstractOAuthProvider.java:69)
02-06 16:18:49.786: E/AndroidRuntime(393):      at com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceImpl.getOAuthRequestToken(LinkedInOAuthServiceImpl.java:172)
02-06 16:18:49.786: E/AndroidRuntime(393):      ... 12 more
02-06 16:18:49.786: E/AndroidRuntime(393): Caused by: java.io.FileNotFoundException: https://api.linkedin.com/uas/oauth/requestToken
02-06 16:18:49.786: E/AndroidRuntime(393):      at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:521)
02-06 16:18:49.786: E/AndroidRuntime(393):      at org.apache.harmony.luni.internal.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:258)
02-06 16:18:49.786: E/AndroidRuntime(393):      at oauth.signpost.basic.HttpURLConnectionResponseAdapter.getContent(HttpURLConnectionResponseAdapter.java:18)
02-06 16:18:49.786: E/AndroidRuntime(393):      at oauth.signpost.AbstractOAuthProvider.handleUnexpectedResponse(AbstractOAuthProvider.java:228)
02-06 16:18:49.786: E/AndroidRuntime(393):      at   oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:189)
4

0 回答 0