Skip to content

Commit

Permalink
Update SocialFeedListener.php
Browse files Browse the repository at this point in the history
  • Loading branch information
MDevster authored Jan 14, 2025
1 parent f66a5a3 commit e11d06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventListener/DataContainer/SocialFeedListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private function requestAccessToken($clientId): void
'app_id' => $clientId,
'redirect_uri' => $this->router->generate('instagram_auth', [], RouterInterface::ABSOLUTE_URL),
'response_type' => 'code',
'scope' => 'user_profile,user_media',
'scope' => 'instagram_business_basic',
];

throw new RedirectResponseException('https://api.instagram.com/oauth/authorize/?'.http_build_query($data));
Expand Down

0 comments on commit e11d06e

Please sign in to comment.