问题标签 [spring-social-linkedin]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
1482 浏览

spring - Spring-social-linkedin 应用程序令牌(无需用户身份验证)

我希望能够将 spring-social-linkedin 与应用程序令牌一起使用,就像我可以使用 spring-social-facebook 和解决方法一样(使用应用程序访问令牌和 spring-social facebook 来查询公共页面)。

我的应用程序只需要查询公共页面,因此不需要针对特定​​用户进行身份验证:例如,我会查询公共公司页面http://www.linkedin.com/company/google

我一直在阅读大量文档,但我对目前的情况感到有些困惑。我认为您甚至不能再通过构造函数使用 OAuth1 凭据实例化 LinkedInTemplate 并且 doco 似乎已过时(http://docs.spring.io/spring-social-linkedin/docs/1.0.x/reference/htmlsingle /#api )。

有谁知道LinkedIn是否有能力在没有redirect_uri舞蹈的情况下进行服务器集成(显然只能访问与公共信息相关的API子集)?

0 投票
1 回答
56 浏览

spring-social - spring-social-linkedin only retrieved two current positions and no past positions

I'm using spring-social-linkedin 1.0.1.RELEASE and when I iterate through positions after calling:

it only returns up to two current positions and no past positions.

Is there a way to configure it to bring back all past and present positions?

0 投票
1 回答
704 浏览

c# - 如何获取linkedin用户的消息

我想获取发送给其他已连接linkedin 用户的消息。

我在此站点https://developer.linkedin.com/documents/sample-code-sending-message中找到了发送消息的代码示例

但是,我没有任何样本来获取消息。但是,当我尝试使用查询“/people/~/mailbox”获取消息时,我收到错误“远程服务器返回错误:(403) Forbidden。”

在详细的错误消息中,我收到“拒绝访问邮箱”。

这两个文档只列出了主要端点“POST /people/~/mailbox”,但没有提到 GET。

https://developer.linkedin.com/oauth-10a-overview https://developer.linkedin.com/documents/authentication#oauth2-redirect-uri

有没有办法获取消息?或者有什么解决方法吗?任何见解或帮助将不胜感激。

谢谢

0 投票
1 回答
397 浏览

spring-social-linkedin - spring-social-linkedin 与 spring-social 1.1 的兼容性

我们有一个使用 spring-social-facebook、spring-social-twitter、spring-social-linkedin 和 spring-social-google 的项目。我们目前使用以下版本:

  • 春天社会核心:1.0.3
  • 春天社交脸书:1.0.1
  • 春季社交推特:1.0.5
  • 春天社交谷歌:1.0.0
  • 弹簧社交链接:1.0.0.RC1

我们正在尝试将 Facebook 和 Twitter 更新到 1.1 目前没有可用于 LinkedIn 和 Google+ 的 1.1 库,因此生成的版本是:

  • 春天社会核心:1.1.0.RELEASE
  • spring-social-facebook:1.1.1.RELEASE
  • 春季社交推特:1.1.0.RELEASE
  • 春天社交谷歌:1.0.0
  • 弹簧社交链接:1.0.0.RC1

由于进行了此更改,LinkedIn 登录不再有效,引发以下异常:

org.springframework.http.converter.HttpMessageNotReadableException'。org.springframework.http.converter.HttpMessageNotReadableException:无法读取 JSON:没有找到适合类型 [简单类型,类 org.springframework.social.linkedin.api.LinkedInProfile] 的构造函数:无法从 JSON 对象实例化(需要添加/启用类型信息?)在 [Source: org.apache.http.conn.EofSensorInputStream@7659b0e8; 行:2,列:3];嵌套异常是 com.fasterxml.jackson.databind.JsonMappingException:没有找到适合类型 [简单类型,类 org.springframework.social.linkedin.api.LinkedInProfile] 的构造函数:无法从 JSON 对象实例化(需要添加/启用类型信息?)在[来源:org.apache.http.conn.EofSensorInputStream@7659b0e8;行:2,列:3] 在 org.springframework.http.converter.json。eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:532) [social-rest-service.war:na] at java.lang.Thread.run(Thread.java:744) [na:1.7. 0_51] 原因:com.fasterxml.jackson.databind.JsonMappingException:没有找到适合类型 [简单类型,类 org.springframework.social.linkedin.api.LinkedInProfile] 的构造函数:无法从 JSON 对象实例化(需要添加/启用类型信息?)在 [Source: org.apache.http.conn.EofSensorInputStream@7659b0e8; 行:2,列:3] 在 com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:164) ~[jackson-databind-2.3.2.jar:2.3.2] 在 com.fasterxml.jackson。 databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1078) ~[jackson-databind-2.3.2.jar:2.3.2] 在 com.fasterxml.jackson.databind。

我们使用 gradle 进行依赖管理,在需要不同版本包的地方总是取最高版本号,所以 spring-social-linkedin 对 spring-social-core 1.0.3 的依赖被强制“升级”到 1.1。 0。这兼容吗?是否可以在使用 spring-social-facebook 和/或 spring-social-twitter 1.1 版的项目中使用 spring-social-linkedin?

0 投票
1 回答
898 浏览

java - Spring Social : 需要在 SpringApplication.run(sources, args) 中运行 2 个源;

有什么办法可以在 SpringApplication.run() 中使用 2 个源吗?这是我的主要课程。你可以清楚地理解我到目前为止所做的尝试。

如果我跑..

com.linkedin.Application.class 给出错误,因为地址已在使用中。

如果我跑..

Linkedin 工作正常,Twitter 不行。'/twitter' 映射(我为 TwitterController 提供的)给出了一个白色标签。

0 投票
1 回答
632 浏览

java - Spring Social LinkedIn:是否有可用于检索用户项目的 api?

我目前正在使用 Spring Social LinkedIn 1.0.0.Release 将用户登录到我的网站。我有一个需要访问用户项目的功能。目前,我看不到访问他们项目的方法。我查看了 Spring Social LinkedIn 代码,并没有发现检索这些数据的暗示。我能够构建一个休息端点来获取访问权限并构建一个粗略的映射器来返回一个 Java 对象。我正在等待 Spring Social LinkedIn 社区的适当实施。我想我会检查一下是否有计划构建一个 api 来获取用户的项目。获取项目的其余网址如下:

https://api.linkedin.com/v1/people/~:(projects:(id,name,description,occupation,start-date,end-date,members)

谢谢,

萨吉德

0 投票
0 回答
159 浏览

linkedin - linkedin API 人员活动返回 201 但无法在 Web UI 中找到更新

要求:

回应

但是当我去我的主页@个人资料->你的网络更新时,我看不到我的帖子。我等了30多分钟。

0 投票
1 回答
143 浏览

spring-social-linkedin - 我如何在linkedin上为cordova应用程序定义javascript API域

下午好,我正在 Cordova 中创建一个应用程序并想使用linkedin,但是当我运行我的应用程序时,它说我需要在我的应用程序li​​nkedin 中设置我的域javascript API。我尝试过使用域“文件:///”,但给出了同样的错误。有没有人有这个问题的想法或解决方案?

此致

0 投票
1 回答
51 浏览

linkedin - LinkedIn - 新的邀请列表

我想使用 LinkedIn REST api 检索新邀请列表。我在他们的网站或“apigee”中找不到正确的文档。什么 REST url(带参数)将列出新的邀请?LinkedIn 是否在 REST api 中提供此功能?

0 投票
1 回答
805 浏览

java - 通过 Spring Social 获取完整的 Linkedin 配置文件时出现 400 错误请求错误

我正在使用 Spring Social 通过 LinkedIn 登录用户。当我访问 LinkedInUserProfile 时,它​​工作正常,但是当我尝试访问完整的个人资料时,我得到以下异常。所以下面代码中的第 2 行工作正常,但第 3 行抛出异常

感觉是

我调试的时候,日志如下,所以“ı”字符有问题,因此可能与本地化有关。谁知道这里发生了什么?