Get LinkedIn insights (beta)
curl --request GET \
--url https://api.social-api.ai/v1/platforms/linkedin/insights \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/linkedin/insights', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/platforms/linkedin/insights"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"follower_count": 123,
"kind": "organization",
"posts": [
{
"clicks": 123,
"comments": 123,
"created_at": "<string>",
"engagement_rate": 123,
"impressions": 123,
"likes": 123,
"permalink": "<string>",
"post_id": "<string>",
"shares": 123,
"text": "<string>",
"unique_views": 123
}
]
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}LinkedIn
Get LinkedIn insights (beta)
Beta. Returns the follower count plus per-post performance for a connected LinkedIn account. For a company Page, posts covers the Page’s recent posts. For a personal profile connected with connection_type profile, posts covers the 5 most recent posts published to it through SocialAPI, and clicks and engagement_rate are always 0. kind is organization for a Page and member for a profile. The response shape may change without notice while this endpoint is in beta.
GET
/
platforms
/
linkedin
/
insights
Get LinkedIn insights (beta)
curl --request GET \
--url https://api.social-api.ai/v1/platforms/linkedin/insights \
--header 'Authorization: <api-key>'const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.social-api.ai/v1/platforms/linkedin/insights', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/platforms/linkedin/insights"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"follower_count": 123,
"kind": "organization",
"posts": [
{
"clicks": 123,
"comments": 123,
"created_at": "<string>",
"engagement_rate": 123,
"impressions": 123,
"likes": 123,
"permalink": "<string>",
"post_id": "<string>",
"shares": 123,
"text": "<string>",
"unique_views": 123
}
]
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
}
}