Skip to content

Commit 5679a36

Browse files
authored
Merge pull request #67 from goldsteinrazvan/feature/instagram-standalone-docs
2 parents 127f210 + 07776af commit 5679a36

File tree

5 files changed

+57
-4
lines changed

5 files changed

+57
-4
lines changed

pages/providers/instagram.mdx

Lines changed: 57 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 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+
### Set up 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,43 @@ FACEBOOK_APP_SECRET="app secret"
6982

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

0 commit comments

Comments
 (0)