LinkedIn Person Posts
List a LinkedIn member's recent posts — text, post type, url, activity counts (likes, comments, shares, reactions), author, and attached content (images, video, article, document, poll) — with pagination, as JSON. Reference the member by urn or username. Costs 4 credits.
POST/api/v1/linkedin/person/posts
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonurnstringMember urn. Provide urn or username.
Example: ACoAAA8BYqEBCGLg_vT_ca6mMEqkpp9nVffJ3hc
usernamestringPublic identifier; resolved to a urn if urn is omitted. Provide urn or username.
Example: williamhgates
cursorstringPagination cursor from a previous response (next_cursor). Keep passing it while has_more is true.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
results = client.linkedin.person_posts(username="williamhgates")
print(results)Response
"page": 1,
"next_cursor": "eyJwYWdpbmF0aW9uVG9rZW4iOiIyIn0=",
"has_more": true
},
"response_time": 3980,
"credits_used": 4,
"credits_remaining": 4744
}