使用socialauth在android的问题与LinkedIn整合 [英] Issue with Linkedin integration using socialauth in android
问题描述
我用socialauth一年前已经implmented LinkedIn INTEGARTION在我的Android应用程序。这是工作正常,直到几天就回来。现在,它提供了以下错误:
I had implmented linkedin integartion in my android app using socialauth a year ago. It was working fine till few days back. Now it gives following error:
org.brickred.socialauth.exception.SocialAuthConfigurationException:应用程序键是不正确运行应用程序的服务器应该被注册到拿到钥匙一样的的。
使用下面的默认键也尽力了。
Tried using following default keys also.
api.linkedin.com.consumer_key = bh82t52rdos6
api.linkedin.com.consumer_secret = zQ1LLrGbhDZ36fH8
获得同样的错误了应用程序的键生成pviously $ P $,默认的应用程序键和新鲜创建应用程序。
Getting same error for keys of app generated previously, default app keys and for fresh created app.
任何想法,为什么这是怎么回事?是否有LinkedIn的API什么变化?
Any idea why it is happening? Is there any change in linkedin APIs?
利布斯包括:socialauth-4.4.jar,socialauth,Android的3.2.jar
Libs included : socialauth-4.4.jar, socialauth-android-3.2.jar.
推荐答案
这是由于在链接中的开发者计划的变化。 改变这里提到 https://developer.linkedin.com/support/developer-program-transition 。
This is due to the change in the Linked in developer program. Changes are mentioned here https://developer.linkedin.com/support/developer-program-transition.
您收到此错误,因为默认范围,设置 r_fullprofile
这是作为变化的一部分不再可用。
You getting this error because the default scope setting in the r_fullprofile
which is as part of the change no longer available.
因此,要应用此改变socialauth API中你应该通过范围的权限为<支撑键=api.linkedin.com.custom_permissions> r_basicprofile,r_emailaddress< /道具>
So to apply this changes in the socialauth API you should pass the scope permission as <prop key="api.linkedin.com.custom_permissions">r_basicprofile,r_emailaddress</prop>
这篇关于使用socialauth在android的问题与LinkedIn整合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!