[Facebook Connector] Publish Instagram posts
Forge component by OutSystems R&D
Application Type
Traditional Web

Greetings all,


I am wondering if OAuth2_Token.AccessToken ("AccessToken" output from "OAuth2_Token" action) is the access token required for using Instagram API.


The access token I am talking about: https://developers.facebook.com/docs/instagram-api/guides/content-publishing#access-tokens


Example of use (access token represented as "{ig-user-id}"): https://developers.facebook.com/docs/instagram-api/guides/content-publishing#publish-photos


I am trying to sign in to my own Facebook/Instagram account via my app, and then publish Instagram posts via an action. Therefore, I am referring to this guide: https://developers.facebook.com/docs/instagram-api/guides/content-publishing


Thanks!

Hi YS, 

Although I'm not familiarized with this connector, one article that perhaps can give you some insights about Instagram posting through OutSystems is this one

Please give it a look, perhaps it can be helpful. 

Best regards, 

Paulo Z

Thanks Paulo! I'll read it before I mark as resolved, thanks!

Sure! You're welcome. 

Hopefully, it will help you solve your issue.

Regards

I got everything to work!

To answer my own question:

OAuth2_Token.AccessToken is passed into https://graph.facebook.com/v9.0/me/accounts?access_token={accesstoken}, in order to get the {facebook-pageId}, followed by the {InstagramId} that you will then use to publish Instagram posts (:

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.