Step 1: Get a Facebook Access Token For Instagram

  1. Go to Meta for Developers

  2. Log in and go to My Apps

  3. Create a new Business App (or use an existing one)

  4. Open the Graph API Explorer from the Tools section

  5. Select your app from the top-left dropdown

  6. Click “Get Token” → “Get User Access Token”

  7. Enable the following permissions:

    • pages_show_list

    • pages_read_engagement

    • pages_read_user_content

    • public_profile

  8. Click Generate Access Token

  9. Copy and save the token — you’ll paste this into the tool

⚠️ Short-lived tokens last 1 hour by default. You can extend it via the Access Token Debugger tool.

Step 2: Get Your Page ID

  1. Visit this URL (replace YOUR_ACCESS_TOKEN):

    bash

    CopyEdit

    https://graph.facebook.com/v19.0/me/accounts?access_token=YOUR_ACCESS_TOKEN

  2. You’ll receive a list of Facebook pages you manage.

  3. Each page object contains a field "id" — that’s your Page ID

  4. Copy this Page ID for later use.

Step 3: Get Post ID (for the Post You Want to Analyze)

  1. Use the Page ID to list recent posts. Open this URL:

    bash

    CopyEdit

    https://graph.facebook.com/v19.0/PAGE_ID/posts?fields=id,message,created_time&access_token=YOUR_ACCESS_TOKEN

  2. You’ll see a list of posts with their id fields.

  3. Copy the full post id (e.g., 1234567890_0987654321) — this is your Post ID