⚠️

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.

Create app

Step 2

Select “Other” and click next

Other

Step 3

Then select business

Business

Add all your details and click Create App

Step 4

CleanShot 2024-09-24 at 13 45 54

Set final details

Step 5

Setup Login with Instagram

Set up login for business

Step 6

Set up a redirect URI back to the application Instagram


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 is https://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 is http://localhost:4200/integrations/social/instagram

You only need to set one OAuth2 Redirect URI when you are setting up your Postiz app.

Step 7

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

Keys

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!