问题
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