Skip to content

chore: update dependencies#4

Open
KennyAtCodin wants to merge 5 commits intotomashco:mainfrom
KennyAtCodin:main
Open

chore: update dependencies#4
KennyAtCodin wants to merge 5 commits intotomashco:mainfrom
KennyAtCodin:main

Conversation

@KennyAtCodin
Copy link
Copy Markdown

I updated the dependencies. After creating a .env in the /dev folder and an empty .env in the root (docker compose, didn't start the mongodb without) I managed to start the instance. unforutnatley /admin won't open. The error is:

[09:33:57] ERROR: Error refreshing token

Where should I look into to fix that?

@tomashco
Copy link
Copy Markdown
Owner

Hi @KennyAtCodin,
So the point in which the code breaks is after trying to retrieve a refresh token from the instagram basic api.

Apparently, reading from here:
https://developers.facebook.com/docs/instagram-platform
On September 4, 2024, we announced the deprecation of the Instagram Basic Display API.

Starting December 4, 2024, all requests to the Instagram Basic Display API will return an error message. We recommend that you migrate your app to the Instagram API to avoid any disruption to your services.

Visit our News for Developers blog post to learn more.

So I think the error that originates is related to this. And I think that in order to fix this we should integrate the Instagram API and deprecate the Instagram Basic API

@KennyAtCodin
Copy link
Copy Markdown
Author

I cannot login into the admin portal it shows this:
image

Oh i see you used the basic display api, so i think we would need to change the whole plugin.

@tomashco
Copy link
Copy Markdown
Owner

tomashco commented Feb 17, 2025 via email

@KennyAtCodin
Copy link
Copy Markdown
Author

Could we use this to fetch the posts? https://github.com/TiagoGrosso/instagram-graph-api-lib

@KennyAtCodin
Copy link
Copy Markdown
Author

KennyAtCodin commented Feb 17, 2025

After updating the payload generated files inside the route group (payload) i was able to open the admin dashboard and start the authentication flow by entering app id and secret.

After clicking configure the instagram plugin i recieve the error:
image

invalid scope user_profile

After updating the scope and adding the correct redirect url I can see the posts now.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants