Get Post Reactions
GET /get-post-reactions
Get the list of people who reacted to a LinkedIn post.
Pricing
2 credits per call.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
post_urn | string | Yes | LinkedIn post URN (e.g., urn:li:activity:1234567890) |
reaction_type | string | No | Filter by reaction type: LIKE, CELEBRATE, SUPPORT, LOVE, INSIGHTFUL, FUNNY |
start | integer | No | Starting offset (default: 0) |
Example Request
- cURL
- Python
- Node.js
curl --request GET \
--url 'https://api.infoplug.io/get-post-reactions?post_urn=urn:li:activity:1234567890' \
--header 'X-INFOPLUG-API-KEY: YOUR_API_KEY'
import requests
url = "https://api.infoplug.io/get-post-reactions"
params = {
"post_urn": "urn:li:activity:1234567890"
}
headers = {
"X-INFOPLUG-API-KEY": "YOUR_API_KEY"
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
const response = await fetch(
'https://api.infoplug.io/get-post-reactions?post_urn=urn:li:activity:1234567890',
{
headers: {
'X-INFOPLUG-API-KEY': 'YOUR_API_KEY'
}
}
);
const data = await response.json();
console.log(data);
Example Response
- 200 OK
- 400 Bad Request
- 401 Unauthorized
{
"data": {
"reactions": [
{
"name": "Jane Smith",
"linkedin_url": "https://www.linkedin.com/in/janesmith/",
"headline": "Product Manager at Tech Corp",
"reaction_type": "LIKE"
}
],
"paging": {
"start": 0,
"count": 100,
"total": 500
}
}
}
{
"message": "invalid_parameter",
"parameter": "post_urn",
"details": "Post URN is required"
}
{
"message": "unauthorized",
"details": "Invalid or missing API key"
}
Related Endpoints
- Search Posts - Search for posts
- Get Post Comments - Get comments on a post