Threads API Integration
The Threads API module in Stackposts allows administrators to connect Threads (by Instagram) to the platform. This enables users to schedule and publish content, retrieve basic profile information, and access insights—empowering more streamlined social media automation.
⚙️ Configuration Fields
To enable the Threads API, you must configure the following fields:
-
Status
-
Enable: Activates integration with Threads. -
Disable: Turns off Threads features.
-
-
App ID
This is your Facebook/Meta App ID connected to Instagram and Threads.
Example:913308...585077 -
App Secret
Secret key that pairs with the App ID for secure OAuth authorization.
Example:be7faaf6e1d42....1bb7652ee84a603 -
Permissions (Scopes)
A comma-separated list of permissions your app is requesting. Example:
These permissions must be reviewed and approved by Meta before production use.
🔁 Callback URL
The OAuth redirect URI that must be configured in your Meta Developer settings:
Add this URL in your app’s “Valid OAuth Redirect URIs” field in the Facebook Developer Console.
🔗 App Setup Instructions
-
Create a new app and select Business or Instagram Graph API access.
-
Under “Products,” add Threads API or configure via Instagram Graph API.
-
Set up:
-
App ID
-
App Secret
-
Callback URL (Redirect URI)
-
-
Request and enable the following permissions:
-
threads_basic -
threads_content_publish -
threads_manage_insights
-
💾 Save Configuration
Once credentials and permissions are filled in, click Save changes. You can then allow users to authenticate with Threads and post content through Stackposts.
✅ Best Practices
-
Ensure your app is in Live Mode for production use.
-
Test API functionality with sandbox accounts before public rollout.
-
Verify the connected Threads account is also linked with a valid Instagram Business Profile.