Setup Guide
API Testing
Video Preview
📋 Meta App Setup Guide
Step 1: Create Meta App
- Go to Meta for Developers
- Click "Create App"
- Select "Consumer" as app type
- Fill in app details (name: "Climate Action Bot")
- Complete the setup
Step 2: Add Instagram Basic Display
- In your app dashboard, click "Add Product"
- Find and add "Instagram Basic Display"
- Go to "Instagram Basic Display" → "Basic Display"
- Add your Instagram account as a test user
Step 3: Generate Access Token
- Go to "User Token Generator"
- Add your Instagram account
- Select permissions:
user_profile
,user_media
- Generate token and copy it
Step 4: Get User ID
- Go to Graph API Explorer
- Select your app from dropdown
- Use query:
https://graph.instagram.com/me?fields=id,username&access_token=YOUR_TOKEN
- Copy the user ID from response
Step 5: Update Your Bot
- Add the token and user ID to your
.env
file - Test the API using the "API Testing" tab
- Run your climate bot:
python climate_bot.py