P
Postiz•2mo ago
Support

Ticket: OAuthException 400: Invalid platform app for IG Standalone

@surf108 Just created a ticket
Question: How do I enable IG standalone
Attempted: Add FB integration. I can add IG business Accounts but when I try to add a standalone account: I get an OAUTH exception { "error_type": "OAuthException", "code": 400, "error_message": "Invalid platform app" } The URL generated does NOT seem to have a valid ID? https://www.instagram.com/oauth/authorize?enable_fb_login=0&client_id=undefined&redirect_uri=https%3A%2F%2Fpostiz.casaalmida.com%2Fintegrations%2Fsocial%2Finstagram-standalone&response_type=code&scope=instagram_business_basic%2Cinstagram_business_content_publish%2Cinstagram_business_manage_comments&state=wvtRrD&logger_id=31409b73-9c2e-484a-b556-de78d96efd65
Working On: Ubuntu/Docker
Using Postiz On: docker compose
Take it from here @Postiz
10 Replies
surf108
surf108•2mo ago
This is my docker compose snippit: (left out all the db and redis stuff and cleaned with generic placeholders) postiz: image: ghcr.io/gitroomhq/postiz-app:latest container_name: postiz restart: always environment: MAIN_URL: "https://your-main-url.com" FRONTEND_URL: "https://your-frontend-url.com" NEXT_PUBLIC_BACKEND_URL: "https://your-backend-url.com/api" JWT_SECRET: "your-jwt-secret" EMAIL_PROVIDER: "your-email-provider" RESEND_API_KEY: "your-resend-api-key" EMAIL_FROM_NAME: "Your Emailer Name" EMAIL_FROM_ADDRESS: "[email protected]" FACEBOOK_APP_ID: "your-facebook-app-id" FACEBOOK_APP_SECRET: "your-facebook-app-secret" X_API_KEY: "your-api-key" X_API_SECRET: "your-api-secret" LINKEDIN_CLIENT_ID: "your-linkedin-client-id" LINKEDIN_CLIENT_SECRET: "your-linkedin-client-secret" DATABASE_URL: "postgresql://username:password@hostname:port/db-name" REDIS_URL: "redis://hostname:port" BACKEND_INTERNAL_URL: "http://localhost:3000" IS_GENERAL: "true" STORAGE_PROVIDER: "local" UPLOAD_DIRECTORY: "/uploads" NEXT_PUBLIC_UPLOAD_DIRECTORY: "/uploads" volumes: - /path/to/config:/config/ - /path/to/uploads:/uploads/ ports: - "5230:5000" networks: - proxy_network depends_on: postiz-postgres: condition: service_healthy postiz-redis: condition: service_healthy labels: - homepage.group=Services - homepage.name=Postiz - homepage.icon=postiz.png - homepage.href=https://your-main-url.com - homepage.description=Social Media Scheduler - traefik.enable=true - traefik.http.routers.postiz.rule=Host(your-main-url.com) - traefik.http.services.postiz.loadbalancer.server.port=5000 - traefik.http.routers.postiz.entrypoints=websecure - traefik.http.routers.postiz.tls=true
guim31
guim31•4w ago
Looking for an answer too because i'm facing the same issue
wolfbyte7
wolfbyte7•4w ago
Same here. IG Standalone does not work. I also saw in the GitHub repo Instagram_app_id is being used as environment variables. I tried that using the Facebook one and no go
guim31
guim31•4w ago
I just wish someone will write a documentation for it 👌
'OnlyMe! 🔥
'OnlyMe! 🔥•4w ago
update on this?
Epic Minion
Epic Minion•4w ago
@surf108 do u use instagram standalone or the bussiness?
wolfbyte7
wolfbyte7•2w ago
I was actually able to get Instagram Standalone to work. In Facebook Developers * Add the Instagram (Sign In Option) similar to how you added Facebook Sign in. * Once you do that, you will receive an Instagram App ID and Secret * After that you will need to Add your instagram account under the "Roles" section.
Epic Minion
Epic Minion•4d ago
@wolfbyte7 any clue why i get the following error? this is what i've set in facebook developers. I've also added my instagram account under the roles section:
No description
No description
wolfbyte7
wolfbyte7•3d ago
@Epic Minion For instagram standalone, the redirect should be "instagram-standalone" at the end.
Epic Minion
Epic Minion•2d ago
thanks man!

Did you find this page helpful?