You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/providers/instagram.mdx
+57-4Lines changed: 57 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,13 @@ import OAuth2Redirect from "../../components/snippets/oauth2redirect.tsx";
10
10
**NOTE:** Please be advised that Instagram and Facebook can use the same app (no need to create two separate apps)
11
11
</Callout>
12
12
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
+
13
20
<Steps>
14
21
### Step 1
15
22
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
33
40

34
41
35
42
Set final details
43
+
</Steps>
36
44
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
38
51


103
+
104
+
Click on the button to set up Instagram Business Login
105
+
106
+
### Set up Redirect URI
107
+

108
+
109
+
<OAuth2Redirectprovider="instagram-standalone" />
110
+
111
+
### Copy Instagram App ID and Secret
112
+

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.
0 commit comments