Publit.Si
Instagram login error

Invalid platform app

The Instagram login was sent with an app ID that Instagram's own login doesn't accept. With a new Meta app, set the `INSTAGRAM_UNIFIED_*` values, restart Publit.Si and connect again.

What the error means

Business Login for Instagram expects the Instagram App ID shown under API setup with Instagram login, not the Facebook app ID.[1] Meta apps created since late October 2026 don't have API setup with Instagram login. They use Unified login instead.[2] If the login still goes the old way with such an app, Instagram answers “Invalid platform app”. “Invalid Scopes” means the login asked for a permission the app doesn't have.[3]

Common causes

  • A new app, but the INSTAGRAM_UNIFIED_* values are empty, so Publit.Si uses the older login.[2]
  • Older way: a permission from step 4b.3 is missing, e.g. views and reach are switched on without instagram_business_manage_insights.[3]
  • Your own code still sends the old scope names. Meta replaced business_basic and the others with instagram_business_* and deprecated the old values on January 27, 2025.[4]

How to fix it

  1. New app: copy the App ID and App secret (App settings → Basic) and the configuration ID from Facebook Login for Business → Configurations.[2]
  2. Enter them in .env or under Settings › Platform setup › Enter credentials (step 4a.6):[2]
  3. Restart Publit.Si and connect again.[3]
  4. Older app with “Invalid Scopes”: add the missing permission, or switch off Instagram: views and reach under Settings › Platforms › Statistics and comments (or set INSTAGRAM_INSIGHTS=0), then reconnect.[3]
.env
INSTAGRAM_UNIFIED_APP_ID=…
INSTAGRAM_UNIFIED_APP_SECRET=…
INSTAGRAM_UNIFIED_CONFIG_ID=…

How Publit.Si handles it

As soon as one INSTAGRAM_UNIFIED_* value is set, Connect › Instagram uses Unified login.[2] Accounts connected the old way keep working. Reconnect on one of them moves it to Unified login.[2] Settings › Platform setup › Instagram shows the guide for the way your .env is set up.[2]

Questions

Where do I find the Instagram App ID?

Only apps with API setup with Instagram login have one, under Business login settings. Newer apps don't; they use Unified login with App ID, App secret and configuration ID.

Do I lose my connected accounts when I switch?

No. Accounts connected the old way keep working. Reconnect moves one to Unified login.

Sources

  1. [1] Meta for Developers: Business Login for Instagram: https://developers.facebook.com/docs/instagram-platform/instagram-api-with-instagram-login/business-login, checked November 17, 2026
    „Your app's Instagram App ID displayed in App Dashboard > Instagram > API setup with Instagram login > 3. Set up Instagram business login > Business login settings > Instagram App ID.“
  2. [2] Publit.Si docs: Connect Instagram: publit.si/docs/platforms/instagram
  3. [3] Publit.Si docs: Troubleshooting: publit.si/docs/troubleshooting
  4. [4] Meta for Developers: Business Login for Instagram: https://developers.facebook.com/docs/instagram-platform/instagram-api-with-instagram-login/business-login, checked November 17, 2026
    „These will replace the existing business_basic, business_content_publish, business_manage_comments and business_manage_messages scope values, respectively. Please note that the old scope values will be deprecated on January 27, 2025.“