Skip to main content

linkedin

Query LinkedIn — profile, connections, posts, and organization pages via the REST API.

Quellinformationen

Repository
ThinkfleetAI/thinkfleet-engine
Letzte Quellaktivität
1. Februar 2026 um 16:21
Erkannte Sprache von SKILL.md
Englisch
Sterne
0
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
linkedin
description
Query LinkedIn — profile, connections, posts, and organization pages via the REST API.
metadata
{"thinkfleetbot":{"emoji":"💼","requires":{"bins":"[Truncated]","env":"[Truncated]"}}}
# LinkedIn Query profile, posts, and organization data via the LinkedIn API. ## Environment Variables - `LINKEDIN_ACCESS_TOKEN` - OAuth 2.0 access token ## Get profile ```bash curl -s -H "Authorization: Bearer $LINKEDIN_ACCESS_TOKEN" \ "https://api.linkedin.com/v2/userinfo" | jq '{sub, name, email, picture}' ``` ## Get organization ```bash curl -s -H "Authorization: Bearer $LINKEDIN_ACCESS_TOKEN" \ "https://api.linkedin.com/v2/organizations/ORG_ID" | jq '{id, localizedName, vanityName}' ``` ## Create post ```bash curl -s -X POST -H "Authorization: Bearer $LINKEDIN_ACCESS_TOKEN" \ -H "Content-Type: application/json" \ "https://api.linkedin.com/v2/ugcPosts" \ -d '{"author":"urn:li:person:PERSON_ID","lifecycleState":"PUBLISHED","specificContent":{"com.linkedin.ugc.ShareContent":{"shareCommentary":{"text":"Post content here"},"shareMediaCategory":"NONE"}},"visibility":{"com.linkedin.ugc.MemberNetworkVisibility":"PUBLIC"}}' | jq '{id}' ``` ## Notes - Always confirm before creating posts. - Scopes needed vary by endpoint (r_liteprofile, w_member_social, etc.).
Auf GitHub ansehen