Files
meta_api_grabber/.env.example
2025-10-21 11:55:14 +02:00

23 lines
872 B
Plaintext

# Meta/Facebook API Credentials
# Get these from https://developers.facebook.com/
# Required: App ID and App Secret
META_APP_ID=your_app_id_here
META_APP_SECRET=your_app_secret_here
# Required: Ad Account ID (format: act_1234567890)
META_AD_ACCOUNT_ID=act_your_account_id_here
# Access Token - You have two options:
# Option 1: Run OAuth2 flow to get token automatically
# Run: uv run python src/meta_api_grabber/auth.py
# Option 2: Manually provide a token from https://developers.facebook.com/tools/explorer/
META_ACCESS_TOKEN=your_access_token_here
# Database Configuration (TimescaleDB)
# For local development using docker-compose, use these defaults:
DATABASE_URL=postgresql://meta_user:meta_password@localhost:5432/meta_insights
# For production, update with your actual database credentials:
# DATABASE_URL=postgresql://username:password@host:port/database