Hi! since Instagram is going to delete their old API “Legacy API” and instead of this they gonna implement " Instagram Graph API " and " Instagram Basic display API " i need to work to get the instagrams photos of some clients accounts inside their websitites with Instagram Basic display API
Once i had my app id and registered my account as a tester, generating the id_code (id of the app), app secret id and finally getting the token; i sarted puting this information inside Wappler:
And im stuck here trying to fetch the schema but i got an error.
So what im trying to achieve? just want to show all the media (photos and some videos) of an instagram account inside a html page.
I think, if i can fetch the schema i can use a server connect from client side to get the images and some info about each post.
I must say i have a very short experience with API’s so i’ll apreciate some help here. I completed succefully this example by @TeodorUsing API Data Source
But instagram API is another level.
Hi George, yes thats for Graph API, but not for Instagram Basic display API i think. I gonna check this again and try to find something about it in other forums. Thanks!
Actually if it is for your own Instagram authorization you can do the client credentials authorization flow.
Then you don’t need all the extra oauth2 redirects and can use straigth the facebook app id and app secret.
If you want to use the API with user credentials then your first setup with the instagram provider was good. You should not set the Params in the Provider and Authorize step, it will be adding the correct ones for you. The Authorize step you should set the required scopes for you use-case. Also the https://graph.instagram.com/ is not a valid endpoint. I will see if I can get a working example.
Hi Patrick, first of all thanks for taking the time to help me. I did what u showed me, but still cant show the instagrams photos from my account in an HTML page. Can u show me what u did in your action step “API Action” please? Thnks