🌍 Climate Action Bot

Meta App Setup & Instagram API Testing

Setup Guide
API Testing
Video Preview

📋 Meta App Setup Guide

Step 1: Create Meta App

  1. Go to Meta for Developers
  2. Click "Create App"
  3. Select "Consumer" as app type
  4. Fill in app details (name: "Climate Action Bot")
  5. Complete the setup

Step 2: Add Instagram Basic Display

  1. In your app dashboard, click "Add Product"
  2. Find and add "Instagram Basic Display"
  3. Go to "Instagram Basic Display" → "Basic Display"
  4. Add your Instagram account as a test user

Step 3: Generate Access Token

  1. Go to "User Token Generator"
  2. Add your Instagram account
  3. Select permissions: user_profile, user_media
  4. Generate token and copy it

Step 4: Get User ID

  1. Go to Graph API Explorer
  2. Select your app from dropdown
  3. Use query: https://graph.instagram.com/me?fields=id,username&access_token=YOUR_TOKEN
  4. Copy the user ID from response

Step 5: Update Your Bot

  1. Add the token and user ID to your .env file
  2. Test the API using the "API Testing" tab
  3. Run your climate bot: python climate_bot.py

🔧 Instagram API Testing

🎬 Video Preview