0

我正在使用 Spring Social 通过 LinkedIn API 获取一些信息。一切正常:我可以使用 LinkedIn 连接到我的应用程序,我可以恢复一些关于我的连接的授权信息......但是,有时,我无法再访问 LinkedIn 并收到此错误:

16:28:00,741 WARN  [RestTemplate] GET request for "https://api.linkedin.com/v1/people/id=FNXqbb779g:(id,first-name,last-name,headline,location,industry,distance,relation-to-viewer,current-share,num-connections,num-connections-capped,summary,specialties,proposal-comments,associations,honors,interests,positions,publications,patents,languages,skills,certifications,educations,three-current-positions,three-past-positions,num-recommenders,recommendations-received,phone-numbers,im-accounts,twitter-accounts,date-of-birth,main-address,member-url-resources,picture-url,site-standard-profile-request:(url),api-public-profile-request:(url),site-public-profile-request:(url),api-standard-profile-request,public-profile-url)?format=json" resulted in 403 (Forbidden); invoking error handler

根据错误消息,我无权获取所需信息(尽管一分钟前,我可以访问它们)。

任何想法为什么?

4

1 回答 1

0

似乎您的会话令牌即将过期,或者您可能遇到了油门限制。会话令牌在一段时间内有效,您可能需要检查日志并查看是否收到类似

“您的会话已过期,发布数据丢失。请重新认证并重新发布数据”

还可以在此处查看油门限制: https ://developer-programs.linkedin.com/documents/throttle-limits

于 2013-06-21T14:39:56.600 回答