Enter your Meta app credentials, click Connect Instagram, authorize the account, and instantly see profile data, posts, analytics, and a generated reel script — all on this single PHP page.
Credentials are stored in the PHP session only. Never expose App Secret in client-side code.
Go to developers.facebook.com → Create App → Business type.
Add Facebook Login for Business in your app dashboard.
Add this page's URL to Valid OAuth Redirect URIs in Meta → Facebook Login → Settings.
Switch to Business or Creator account in Instagram → Settings → Account type.
In Instagram settings, connect the account to a Facebook Page you manage.
Enter App ID, Secret, Redirect URI above → Save → Connect Instagram.
| Permission | Why needed |
|---|---|
| instagram_basic | Read profile, media, and linked account info |
| instagram_manage_insights | Read reach, impressions, profile views, follower trends |
| pages_show_list | List Pages to find linked Instagram Business account |
| pages_read_engagement | Read Page engagement and content metrics |
| instagram_manage_comments | Read and reply to post comments |
| instagram_content_publish | Schedule and publish posts (optional) |
No profile data. Connect your account first.
Analytics will appear once your account is connected and posts are loaded.
| Caption | Type | Likes | Comments | Total engagement | Posted | Link |
|---|---|---|---|---|---|---|
| No media loaded yet. Connect your account first. | ||||||