Linkedin API: Get Shares, Views, Likes, Comments count for Activity Video

KS Bek 1 Reputation point
2020-12-16T09:19:21.433+00:00

How to get Shares, Views, Likes, Comments count for Linkedin Activity?

I checked these docs. The endpoints are not working for Activities.
https://learn.microsoft.com/en-us/linkedin/marketing/integrations/community-management/shares/network-update-social-actions
https://learn.microsoft.com/en-us/linkedin/marketing/integrations/community-management/shares/video-analytics-api

I have the Auth Token of correct permissions.
Request:
curl -X GET \
'https://api.linkedin.com/v2/videoAnalytics?q=entity&entity=urn:li:activity:6742168427533803520&type=VIDEO_VIEW' \
-H 'authorization: Bearer {token}' \
-H 'cache-control: no-cache' \
-H 'postman-token: 9c9e9566-961e-8b53-1367-ce4b10438ed8'
Response:
{"message":"no video asset is found","status":400}

This API is working for UGC Posts, but not working for Activity.
I would appreciate if someone could help me.

Thanks.

P.S: I'm not sure what tags should I select for this question(Questions for Linkedin API). So I selected randomly.

Community Center | Not monitored
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.