Is it possible to get all Linkedin Profile Posts with Linkedin Api

此生再无相见时 提交于 2019-12-11 07:57:37

问题


I am trying to use linkedin API for showing the feeds of my profile what i have posted from the day first. posts include media, images, video etc. I would like to know is there any Api available for that where i can pass some parameter and get all posts of my linkedin Profile. Please help if anyone have done this before

Thanks!!


回答1:


You can Retrieve Shares with the api using the person id:

curl  -X GET \
   -H "Authorization:Bearer token<>" \
 'https://api.linkedin.com/v2/shares?q=owners&owners=urn:li:person:{id}'

You can retrieve the person id with the Retrieve Authenticated Member's Profile API

 curl  -X GET \
   -H "Authorization:Bearer <token>" \
 'https://api.linkedin.com/v2/me?projection=(id)'

Hope this help



来源:https://stackoverflow.com/questions/54625971/is-it-possible-to-get-all-linkedin-profile-posts-with-linkedin-api

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