Meta API Connection:Not Connected
Ad Account:N/A(N/A)Inactive
Page:N/A(N/A)
Meta API Sandbox Setup
Required Environment Variables
META_SANDBOX_ACCESS_TOKEN
Your Meta API sandbox access token
META_SANDBOX_AD_ACCOUNT_ID
Your sandbox ad account ID (format: act_123456789)
META_SANDBOX_PAGE_ID
Your Facebook page ID for sandbox testing
Setup Instructions
- 1. Create a Meta Sandbox Ad Account
- Go to Meta Developers (developers.facebook.com)
- Navigate to your App → Tools → Marketing API → Sandbox Accounts
- Create a new sandbox ad account
- 2. Generate Access Token
- Go to Meta Business Settings → System Users
- Create a new System User or use existing one
- Generate token with ads_management permission
- 3. Associate Facebook Page
- In Marketing API → Sandbox Accounts
- Find your sandbox account
- Click "Associate Page" and select a page
- 4. Configure Environment
- Add the variables to your .env.local file
- Restart the development server
- Refresh this page
Note: These credentials are for sandbox testing only. Never use production credentials here.
API Logs
No logs to display