Getting started with the Threads API

Step-by-step guide for posting to Threads through the Post For Me API

Threads Integration Guide

This guide walks you through setting up a Threads (Meta) Developer App and integrating it into Post For Me so users can publish threads directly. Feel free to contact us at postforme@daymoon.dev for any additional support!


1. Create a Facebook Developer Account

  1. Click Get Started and follow the prompts to register as a developer.

You need this to create a Threads application on the Meta platform.


2. Create a Threads App

  1. In the Facebook Developer Dashboard, click Create App.
  1. Enter your app’s name and contact email.
  1. Under Use Case, choose Access the Threads API.
  1. (Optional) Select a business portfolio.
  1. Click Create App.

3. Request Permissions for the Threads API

  1. In the app sidebar, go to Use CasesAccess the Threads API → click Customize.
  1. Enable these permissions:
  • threads_content_publish
  • threads_manage_insights
  • threads_manage_replies

4. Configure Redirect & Uninstall URLs

  1. Still under Customize → Settings:
  • Set Redirect Callback URL to:
https://app.postforme.dev/callback/<project_id>/threads/account
 Replace `<project_id>` with your real project ID, or copy from **Configure → Threads** in Post For Me.
  • Set Uninstall Callback URL to:
 https://app.postforme.dev/callback/<project_id>/threads/uninstall
  1. After entering each URL, make sure to click the dropdown suggestion so it registers correctly.

5. Add Credentials to Post For Me

  1. Copy your App ID and App Secret from the Facebook Developer Dashboard.
  1. In Post For Me, go to: Configure -> Threads
  1. Paste the App ID and Secret into the corresponding fields.

6. Add Threads Testers

To allow sandbox testing while in Development Mode:

  1. In your Facebook Developer Dashboard, navigate to App Roles → Roles.
  1. Click Add People, choose Threads Tester, and enter each Threads username to invite.
  1. Invited users must:
  • Log into their Threads account.
  • Go to Settings → Website Permissions → Invites.
  • Accept the tester invitation.

7. Finish App Setup

  1. Return to Dashboard in your Developer Console.
  1. Click Finish Customization.
  1. Confirm by clicking Yes, I'm finished.

8. Connect an Account and Test

  1. In Post For Me: Project -> Social Media Accounts -> Connect an Account
  1. Select Threads.
  1. Follow the OAuth flow to connect your Threads account (must be an invited tester).

You are now able to schedule and publish Threads posts via Post For Me.


9. Move to Production

Once testing is complete:

  • Apply for proper access via App Review in the Developer Dashboard to allow non-tester users to connect and post to Threads.

Done!

Your integration is ready. Users can connect their Threads profiles and begin posting directly from Post For Me!