NOTE: Please be advised that Instagram and Facebook can use the same app (no need to create two separate apps)
Step 1
Create a new app in Instagram developers, choose the business you want to connect it to.
Please be advised that for public applications you would need to verify you business.
Step 2
Select “Other” and click next
Step 3
Then select business
Add all your details and click Create App
Step 4
Set final details
Step 5
Set up login for business
Step 6
Set up a redirect URI back to the application
The OAuth2 Redirect URI is the location where the provider will redirect to after trying to login. This needs to set to your Postiz FRONTEND_URL
+ /integrations/social/
+ instagram
.
- eg: If you are running on a container, and your Postiz URL is:
https://postiz.example.com
, then your OAuth2 Redirect URI ishttps://postiz.example.com/integrations/social/instagram
- eg: If you are running on localhost, and your Postiz URL is
http://localhost:4200
, then your OAuth2 Redirect URI ishttp://localhost:4200/integrations/social/instagram
You only need to set one OAuth2 Redirect URI when you are setting up your Postiz app.
Step 7
Go to advanced permission and request access for the following scopes:
instagram_basic
pages_show_list
pages_read_engagement
business_management
instagram_content_publish
instagram_manage_comments
instagram_manage_insights
Step 8
Go to basic permissions copy your App ID and App Secret and paste them in your .env
file
FACEBOOK_APP_ID="app id"
FACEBOOK_APP_SECRET="app secret"
Instagram should now be working!