Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instagram API with Instagram Login #53

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

janborg
Copy link
Contributor

@janborg janborg commented Dec 24, 2024

As Instagram Basic Display Api is deprecated, there is one change needed on bundle side.

According to https://developers.facebook.com/docs/permissions#i the required permission to read profile information and media of an Instagram business account is instagram_business_basic.

In Addition, you need to create an Instagram API with Instagram Login according to this guide https://developers.facebook.com/docs/instagram-platform/instagram-api-with-instagram-login/create-a-meta-app-with-instagram until Step 6 and Step 9 ! The rest is not needed, as you only want to get media of your own Instagram Account.

IMPORTANT: This is only working for instagram business accounts, not for regular accounts!

I tested this on my website and it is running for several days now. also the refreshing of the access token is working!

@janborg janborg marked this pull request as ready for review December 24, 2024 10:04
@janborg
Copy link
Contributor Author

janborg commented Dec 24, 2024

solves #49

@fritzmg
Copy link
Contributor

fritzmg commented Jan 7, 2025

See also here on how to convert an existing profile to a business account.

@vossmedien
Copy link

I can confirm that fetching is now working again using a Business Account and adjusting 'scope' => 'instagram_business_basic'! THANK YOU!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants