Search LinkedIn followers to mention
Search the followers of a connected LinkedIn company page by name, using LinkedIn's People Typeahead API.
Search the followers of a connected LinkedIn company page by name, using LinkedIn's People Typeahead API. Each result carries the member's urn and full name.
Use case: mention a person in a post from that page. Pass { "urn": "<urn>", "text": "<name>" } in linkedin.mentions when calling POST /v1/posts/, with the same text appearing in the post content.
Limits:
- Only works for LinkedIn company page accounts. Personal profile accounts get a 400.
- LinkedIn only returns members who follow the page. Anyone else will not appear in results.
- Searching by profile URL is not supported - search by name.
- Requires the
r_organization_followersscope. Pages connected before this scope was added get a 403 and must be reconnected.
GET
/v1/linkedin/accounts/{id}/followers/searchPath Parameters
idstring
Query Parameters
keywordsstring
Name (or part of a name) to search the page's followers for
Length
1 <= length <= 100start?integer
Zero-based offset for paging
Default
0Range
0 <= valuecount?integer
Results per page (1-50)
Default
10Range
1 <= value <= 50Response Body
fetch("https://api.outstand.so/v1/linkedin/accounts/string/followers/search?keywords=ann&start=0&count=10", { method: "GET"}){
"success": true,
"data": [
{
"urn": "urn:li:person:133",
"name": "Annie Victor",
"firstName": "Annie",
"lastName": "Victor",
"headline": "Head of Marketing"
}
],
"paging": {
"start": 0,
"count": 10,
"total": 1
}
}{
"success": false,
"error": "Social account not found"
}{
"success": false,
"error": "Social account not found"
}{
"success": false,
"error": "Social account not found"
}{
"success": false,
"error": "Social account not found"
}{
"success": false,
"error": "Internal server error"
}