mukesh4u / Android-LinkedIn-Demo

android LinkedIn integration . Note: Replace your LINKEDIN_CONSUMER_KEY and LINKEDIN_CONSUMER_SECRET in Config.java code. For complete Tutorial you can check it on my blog http://www.androiddevelopersolutions.com/2013/05/linkedin-integration-in-android.html
17 stars 18 forks source link

LinkedIn is not working #5

Open monikarora opened 7 years ago

monikarora commented 7 years ago

@mukesh4u i am using this code but its not working , check this error

com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceException: oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: https://api.linkedin.com/uas/oauth/requestToken at com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceImpl.getOAuthRequestToken(LinkedInOAuthServiceImpl.java:205) at com.mukesh.linkedin.LinkedinDialog.setWebView(LinkedinDialog.java:69) at com.mukesh.linkedin.LinkedinDialog.onCreate(LinkedinDialog.java:55) at android.app.Dialog.dispatchOnCreate(Dialog.java:389) at android.app.Dialog.show(Dialog.java:293) at com.mukesh.linkedin.LinkedInSampleActivity.linkedInLogin(LinkedInSampleActivity.java:158) at com.mukesh.linkedin.LinkedInSampleActivity.access$000(LinkedInSampleActivity.java:49) at com.mukesh.linkedin.LinkedInSampleActivity$1.onClick(LinkedInSampleActivity.java:87) at android.view.View.performClick(View.java:5612) at android.view.View$PerformClick.run(View.java:22285) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6123) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757) Caused by: oauth.signpost.exception.OAuthCommunicationException: Communication with the service provider failed: https://api.linkedin.com/uas/oauth/requestToken at oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:214)

thanks!