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
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
1 Reply
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