From 9b5bf89d11dc9dba968cde9eca7a6b7982e82567 Mon Sep 17 00:00:00 2001 From: Bashy Date: Thu, 28 May 2026 12:56:49 +0300 Subject: [PATCH] Switch LinkedIn scope to w_member_social (personal profile) w_organization_social requires Marketing Developer Platform approval. Org page scope kept as a comment for when/if that access is granted. Co-Authored-By: Claude Sonnet 4.6 --- web/api/linkedin_auth.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/api/linkedin_auth.php b/web/api/linkedin_auth.php index c5ddef4..489a611 100644 --- a/web/api/linkedin_auth.php +++ b/web/api/linkedin_auth.php @@ -21,7 +21,8 @@ $url = 'https://www.linkedin.com/oauth/v2/authorization?' . http_build_query([ 'client_id' => $client_id, 'redirect_uri' => $redirect_uri, 'state' => $state, - 'scope' => 'w_organization_social openid profile', + // 'scope' => 'w_organization_social openid profile', // org page — requires Marketing Developer Platform approval + 'scope' => 'w_member_social openid profile', ]); echo json_encode(['url' => $url]);