Facebook Integration Setup Guide

Documentations

Kodi Poster Documentation

Facebook Integration Setup Guide

This guide will help you set up your Facebook account so the Kodi Poster plugin can automatically repost your WordPress content to your Facebook Page.

To complete the setup, you will need the following:

  • Facebook App ID
  • Facebook App Secret
  • Facebook Access Token
  • Facebook Page ID

🔧 Step-by-Step Guide

1. Create a Facebook App

You need to create a Facebook App to access the necessary credentials.

  1. Go to the Facebook Developers Portal.
  2. Log in with your Facebook account.
  3. Click on “My Apps” > “Create App”.
  4. In App details, fill in the required information.
  5. In Use cases, select Manage everything on your Page.
  6. Click Next and complete the form.

If you already have the app, then you just need to Add Use cases to your app. (go to Use Cases > Add use cases > select Manage everything on your Page)

2. Get Your App ID and App Secret

  1. Once the app is created, you’ll be redirected to the App Dashboard.
  2. In the Settings > Basic menu:
    • Copy your App ID.
    • Click “Show” next to App Secret and copy it.

📝 Keep your App Secret private. Never share it.

3. Set Permissions for Your Facebook App

To allow Kodi Poster to post on your behalf, you must grant the required permissions to your Facebook App.

  1. In your Facebook App Dashboard, go to the left panel
  2. Click Use Cases, then choose “Manage everything on your Page”
  3. Click Customize
  4. Add the following permissions:
    • pages_manage_posts
    • pages_manage_metadata
    • pages_read_engagement
    • pages_show_list

These permissions are essential for Kodi Poster to post content, read engagement data, and list your pages for selection.

4. Generate a User Access Token

  1. Go to the Graph API Explorer.
  2. Click “Generate Access Token”.
  3. A popup will appear, then login and connect to your Apps.
  4. Copy the Access Token and save it.
Kodi Poster Facebook Integration Setup

5. Get Your Facebook Page ID

  1. In the Graph API Explorer
    • type me/accounts and click Submit.
    • copy the id shown in the output.
  2. Alternatively, use this format in your browser:

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

    Replace YOUR_ACCESS_TOKEN with your actual token to retrieve all page info via the Graph API.
Kodi Poster Facebook Integration Setup

6. Add Credentials to Kodi Poster Plugin

Now that you have all four required credentials:

  • Facebook App ID
  • Facebook App Secret
  • Long-lived Access Token
  • Page ID

Paste them into the Kodi Poster plugin settings under Facebook Integration.

7. Final Step: Exchange Token for Long-Lived Access

After entering all your credentials into the plugin settings, click the [Exchange Token] button.

This button will:

  • Take your short-lived access token
  • Communicate with Facebook’s API
  • Automatically exchange it for a long-lived access token

Once successful:

  • Your new long-lived token will be saved automatically
  • You will see a “Connected” or success confirmation message
  • The Facebook integration is now active and ready to use
Kodi Poster Facebook Integration Setup

ℹ️ You only need to do this once — unless your token expires or is revoked later.