Skip to content

Commit 137b334

Browse files
added instagram standalone docs
1 parent 57f09f5 commit 137b334

File tree

5 files changed

+55
-4
lines changed

5 files changed

+55
-4
lines changed

pages/providers/instagram.mdx

Lines changed: 55 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ import OAuth2Redirect from "../../components/snippets/oauth2redirect.tsx";
1010
**NOTE:** Please be advised that Instagram and Facebook can use the same app (no need to create two separate apps)
1111
</Callout>
1212

13+
## Connection Options
14+
There are two ways to connect to an Instagram account: by using a Facebook Business or through a standalone flow that connects directly to an Instagram account.
15+
16+
## Setting up a new Meta Application
17+
18+
The following steps will guide you through the setup of a Meta application that can be used for connecting Instagram to Postiz.
19+
1320
<Steps>
1421
### Step 1
1522
Create a [new app in Instagram developers](https://developers.instagram.com/apps/creation/), choose the business you want to connect it to.<br />
@@ -33,19 +40,25 @@ Add all your details and click Create App
3340
![CleanShot 2024-09-24 at 13 45 54](https://github.com/user-attachments/assets/f0c03825-0f9b-4467-94a4-ab8cf6ed7e1d)
3441

3542
Set final details
43+
</Steps>
3644

37-
### Step 5
45+
## Facebook Business Option
46+
47+
If you have a Facebook Business page that is linked to your Instagram account, you can connect to it by setting up the Login for Business flow.
48+
49+
<Steps>
50+
### Login for Business
3851
![Setup Login with Instagram](https://github.com/user-attachments/assets/08d3c1d1-d498-49d1-adac-aa6248e7c10c)
3952

4053
Set up login for business
4154

42-
### Step 6
55+
### Set up Redirect URI
4356
Set up a redirect URI back to the application
4457
![Instagram](https://github.com/user-attachments/assets/78496d3f-3b84-4724-afc8-ed217d892c6d)
4558

4659
<OAuth2Redirect provider = "instagram" />
4760

48-
### Step 7
61+
### Set up permissions
4962
![step 7](https://github.com/user-attachments/assets/a81aa2a3-de66-4099-906b-b78c641d1a23)
5063

5164
Go to advanced permission and request access for the following scopes:
@@ -57,7 +70,7 @@ Go to advanced permission and request access for the following scopes:
5770
`instagram_manage_comments`
5871
`instagram_manage_insights`
5972

60-
### Step 8
73+
### Copy App ID and Secret
6174
![Keys](https://github.com/user-attachments/assets/ac11f87f-4951-47f8-8344-7fbc9de942e4)
6275

6376
Go to basic permissions copy your App ID and App Secret and paste them in your `.env` file
@@ -69,3 +82,41 @@ FACEBOOK_APP_SECRET="app secret"
6982

7083
Instagram should now be working!
7184
</Steps>
85+
86+
87+
## Instagram Standalone Option
88+
89+
<Callout type="warning">
90+
Please note that standalone option requires a professional Instagram account.
91+
</Callout>
92+
93+
<Steps>
94+
### Set up Instagram
95+
![Instagram](/images/providers/instagram-standalone/instagram-standalone-001.png)
96+
97+
Set up Instagram.
98+
99+
### Set up Instagram Business Login
100+
![Set up Instagram Business Login](/images/providers/instagram-standalone/instagram-standalone-002.png)
101+
102+
Click on the button to set up Instagram Business Login
103+
104+
### Set up Redirect URI
105+
![Set up redirect URI](/images/providers/instagram-standalone/instagram-standalone-003.png)
106+
107+
<OAuth2Redirect provider = "instagram-standalone" />
108+
109+
### Copy Instagram App ID and Secret
110+
![Instagram App ID and Secret](/images/providers/instagram-standalone/instagram-standalone-004.png)
111+
112+
From your Instagram API setup screen copy the Instagram App ID and Instagram App Secret and paste them in your `.env` file
113+
114+
```env
115+
INSTAGRAM_APP_ID="app id"
116+
INSTAGRAM_APP_SECRET="app secret"
117+
```
118+
119+
### Add Instagram Standalone channel in Postiz Application
120+
121+
Go to the Postiz web interface, and click on the "Add Channel" button. Select "Instagram (Standalone)" from the list of available channels. You should be redirected to the Instagram login screen to authorize the application.
122+
</Steps>
322 KB
Loading
94.5 KB
Loading
293 KB
Loading
317 KB
Loading

0 commit comments

Comments
 (0)