Why is the LinkedIn API's 'picture-urls::(original)' field no longer returning values?

别等时光非礼了梦想. 提交于 2019-11-28 17:07:30

问题


I've been importing photos with the picture-urls::(original) field for years but since 2018/2/26 about half of profiles have not been returning this field and since 2018/3/1 none of them have been returning it. The picture-url field is not a usable substitute since the photos are too small.

The field is still documented as part of the basic profile. Several others are having this problem too:

  1. Linked in Omniauth photo_urls or picture-urls::(original) not being returned

  2. LinkedIn not picking up og:image from wordpress


回答1:


The development of the v2 of the API is at a very advanced state and eventually v1 will lose all support in a more or less organized manner.

Use v2 with a projection to get the urn to the source image pictureInfo(cropInfo,croppedImage,hidden,masterImage)

And from then get the image. I doubt a fix will come for something that is going to get deprecated.



来源:https://stackoverflow.com/questions/49074069/why-is-the-linkedin-apis-picture-urlsoriginal-field-no-longer-returning-v

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!