【问题标题】:How to solve Integration of Linkedin in android如何解决Linkedin在android中的集成
【发布时间】:2015-06-03 12:00:45
【问题描述】:

我现在正在尝试将 Linkedin 集成到我的项目中,现在我使用此链接进行集成 https://github.com/srivastavavivek1987/LinkedIn-Connection-in-Android 但它会在 logcat 中抛出这样的错误

06-03 17:02:35.811:E/AndroidRuntime(29795):致命异常:main
06-03 17:02:35.811: E/AndroidRuntime(29795): 进程: com.example.linkedin, PID: 29795
06-03 17:02:35.811: E/AndroidRuntime(29795):com.google.code.linkedinapi.client.oauth.LinkedInOAuthServiceException: oauth.signpost.exception.OAuthCommunicationException: 与服务提供商的通信失败:https://api.linkedin.com/uas/oauth/requestToken?scope=w_share+r_basicprofile

我搜索了许多回复并尝试了它们但无法获得满意的结果有人可以帮我解决这个问题吗 或者有人可以给我Linkedin与android集成的运行代码

【问题讨论】:

    标签: android social-networking linkedin-api


    【解决方案1】:

    我解决了我的问题,它只是服务器问题,如果您的回调 URI 在开发人员控制台中的 OAuth 2.0 和 OAuth 1.0 身份验证中不同,并且在程序中创建此类问题只是使其成为任何地方的绝对路径具有正确的客户端 ID 和客户端密码 使用这个链接它有很大帮助 https://developer.linkedin.com/docs/oauth2#authorize

    【讨论】:

      猜你喜欢
      • 2011-09-06
      • 2016-11-23
      • 1970-01-01
      • 2015-09-18
      • 1970-01-01
      • 2015-10-19
      • 2020-02-23
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多