Connect Threads to your Wiro AI agent
Publish posts to Threads and read their replies and insights.
I'd like a 28-day Threads recap: views, followers, link clicks, and the post people replied to most.
Over the 28 days to yesterday, the Cinder Hill Bakery profile had 3,240 profile views, 1,980 likes, 412 replies and 86 reposts, and it now has 2,315 followers. The holiday pie order link got 128 clicks. The most replied-to post was Which pie should come back for December?, with 7,900 views, 96 replies and 41 reposts, more replies than your next four posts together.
Overview
What Threads does for your agent
Threads access comes from the Threads use case added to a Meta developer app you own, and everything the agent publishes appears under the profile used to sign in. It posts text of up to 500 characters, a photo, a video or a carousel holding as many as 20 of them, answers replies inside its own threads, hides replies, and reads views, likes, reposts, link clicks and follower numbers. Until Meta approves the app in App Review, only Threads accounts with a role on it, such as a tester, can connect.
Use cases
What your Wiro agent can do with Threads
Post on Threads every morning at 8:00
Threads publishes a post the moment it is sent, so the timing comes from a Scheduled Task. Give the agent your themes for the week; each morning it writes one post of up to 500 characters, adds a topic tag and publishes it as your profile.
Answer questions in the replies to your threads
Each afternoon a Scheduled Task reads the whole conversation under your recent posts, answers questions inside the thread with facts from your notes, and hides replies that are abusive. Hiding a reply hides the replies nested under it as well.
See the week's Threads numbers in one message
Every Monday the agent reads each post's views, likes, replies, reposts, quotes and shares, plus profile views, link clicks per link and the follower count for the week, and sends you a short summary in Chat.
Share a long announcement without cutting it
For a release note that runs past 500 characters, the agent writes a short post and attaches the full text, up to 10,000 characters, as a text attachment, so readers get the summary and the whole note in one post.
Publish an event carousel with alt text
Send up to 20 photo and video links from the event. The agent turns them into a single carousel with a caption and alt text on each item, and adds the AI label when a photorealistic image was made or changed with AI.
Learn where your followers are
Ask in Chat for your followers by country, city, age or gender. Threads shares these figures once a profile has 100 followers, and the agent turns them into a short note on which cities and languages to write for.
How it works
How Threads works with Wiro
- 01
Connect Threads
Deploy an agent, open its Connectors tab, choose Threads and sign in with your Threads account.
- 02
Choose what each action may do
Set each Threads action to Allow, Ask or Block, in Chat and in Scheduled Tasks. By default, read-only actions run, and the rest ask first in Chat.
- 03
Ask in Chat or schedule it
Ask your agent for Threads work in Chat, or put it on a Scheduled Task that runs on its own.
- Where it runsInside your agent. Its requests go straight from the agent to Threads.
- Where its data goes
graph.threads.net - How it signs inSign in to Threads with your own app.
What it can do
Actions your Wiro agent can take in Threads
By default, read-only actions run, and the rest ask first in Chat and run in Scheduled Tasks. Each agent can set any action to Allow, Ask or Block.
Read-only 7 actions
Looks things up in Threads and changes nothing.
| Action | What it does | Chat | Scheduled Tasks |
|---|---|---|---|
| Get the Threads profile | Returns the connected Threads profile: id, handle, name, bio and profile picture. | Allow | Allow |
| List my Threads posts | Lists the profile's own posts, newest first, with id, text, type, permalink and time. | Allow | Allow |
| Get the Threads publishing limits | Returns what the profile used of its rolling 24-hour limits: posts (250, a carousel counts as one), replies (1,000) and deletions (100). | Allow | Allow |
| List replies to a Threads post | Lists the replies to a post. | Allow | Allow |
| Get Threads post insights | Reads insights of the profile's posts (the given ids, or the latest posts): views, likes, replies (direct only), reposts, quotes and shares. | Allow | Allow |
| Get Threads profile insights | Reads profile insights over a range of days: profile views (added up), likes, replies, reposts and quotes, link clicks per link, and the current follower count. | Allow | Allow |
| Read other Threads data | Reads what the actions above do not cover, straight from the Threads API. | Allow | Allow |
Create and send 2 actions
Creates or sends something new in Threads, such as a post, a message or an email.
| Action | What it does | Chat | Scheduled Tasks |
|---|---|---|---|
| Publish a Threads post | Publishes a post at once (Threads has no scheduling): text only, one image (JPEG or PNG) or video (MP4 or MOV), or a carousel of 2 to 20, from public https URLs. | Ask | Allow |
| Publish a waiting Threads container | Publishes a container an earlier call left waiting: it checks the container. | Ask | Allow |
Change and delete 3 actions
Changes or deletes what is already in Threads.
| Action | What it does | Chat | Scheduled Tasks |
|---|---|---|---|
| Hide or show a Threads reply | Hides a reply in one of the profile's threads, or shows it again. | Ask | Allow |
| Delete a Threads post | Deletes one of the profile's own posts or replies. | Ask | Allow |
| Make other Threads changes | Sends any other change straight to the Threads API. | Ask | Allow |
How to connect
Connect Threads to Wiro
Open the agent's Connectors tab, choose Threads and sign in with your account. The consent screen shows what the agent can reach.
What the Connect dialog asks for
| Field | About |
|---|---|
| Threads App IDRequired | Threads gives your Meta app a second app ID and secret that work only for Threads. Use those two here, not the App ID at the top of the app dashboard. Meta does not charge for the Threads API.
Who can connect. Until Meta approves your app, only Threads accounts with a role on it can connect. Add yours under App roles → Roles → Add People and choose Threads Tester; enter the Threads username, which can differ from your Facebook login. Then accept the invite in Threads under Settings → Account → Website permissions → Invites. To let accounts without a role connect, submit each permission for App Review and publish the app. |
| Threads App SecretRequired |
The connection lasts 60 days and renews itself while the agent runs. A private Threads profile has to connect again every 90 days, because Meta extends permissions only for public profiles. Threads allows each account 250 posts, 1,000 replies and 100 deletions in any 24 hours. To revoke access, remove the app in Threads under Settings → Account → Website permissions. |
Troubleshooting
Troubleshooting Threads
What to check when Threads stops working for your agent.
- Your own app's sign-in fails Check your app's settings in Threads: the redirect URL shown in the Connect dialog must be added there, and the client secret you pasted must be the app's current one. Then sign in again.
- Access revoked in Threads If the access is removed in Threads, or the sign-in can no longer renew, the connection reads Reconnect needed. Open the agent's Connectors tab, choose Threads and Reconnect.
- Limits set by Threads Threads limits how much an account can do, such as how many requests it takes in a minute. An action over a limit fails until the limit resets: wait and ask again, or check your Threads plan.
For developers
Connect Threads from your own product
Every call is a POST to the Wiro API with your project's API key. On a sign-in, your customers see your own app's name.
- 01
Read the connector
Detail answers without a session: what the connector needs and the tools it gives an agent.
POST /AgentConnector/Detail { "slug": "threads" }Response { "result": true, "errors": [], "agentconnectors": [ { "slug": "threads", "title": "Threads", "category": "social", "authtype": "provider-oauth", "credentialfields": [ { "name": "appid", "label": "Threads App ID", "required": true, "secret": false, "format": "text" }, { "name": "appsecret", "label": "Threads App Secret", "required": true, "secret": true, "format": "password" } ], "tools": [ { "name": "get_profile", "readonly": true }, { "name": "list_posts", "readonly": true } ] } ] } - 02
Start the sign-in
Connect answers with the vendor's sign-in page. Open it in the browser of the person who owns the account.
POST /UserAgent/ConnectorConnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "threads", "mode": "oauth", "values": { "appid": "YOUR_APPID", "appsecret": "YOUR_SECRET" }, "redirecturl": "https://your-app.example.com/connectors/return" }Response { "result": true, "errors": [], "status": "pending", "authorizeUrl": "https://vendor.example.com/oauth/authorize?client_id=...&state=..." } - 03
Come back to your page
After the consent screen the browser returns to your redirect URL with the outcome in its query. Read the status next; the query is only a reason to look.
Your redirect URL https://your-app.example.com/connectors/return?connector_connected=true https://your-app.example.com/connectors/return?connector_error=authorization_denied - 04
Read the status
connected, pending (a sign-in not finished), reauth (sign in again) or error. Values and tokens never come back.
POST /UserAgent/ConnectorList { "useragentguid": "YOUR_AGENT_GUID" }Response { "result": true, "errors": [], "useragentconnectors": [ { "slug": "threads", "title": "Threads", "authtype": "provider-oauth", "status": "connected", "accounts": {}, "savedvariables": [ "appid", "appsecret" ], "lasterror": null } ] } - 05
Disconnect
Revokes a sign-in where the vendor allows it, deletes what the connection holds and removes the connector from the running agent.
POST /UserAgent/ConnectorDisconnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "threads" }Response { "result": true, "errors": [], "removed": true, "revoked": true, "restart": "scheduled" }
Questions
Threads and Wiro FAQ
What can a Threads AI agent do?
It publishes text posts, single images or videos, and carousels of 2 to 20 items on your Threads profile, with options such as a topic tag, reply controls, a long text attachment and an AI label. It reads the replies to your posts and answers inside your own threads, hides replies, deletes your posts, and reads post and profile insights.
How do I connect Threads to an AI agent?
In your Meta developer app, add the Access the Threads API use case with its permissions and the redirect callback URL from the Connect dialog, then copy the Threads App ID and Threads App Secret from that use case's settings; they differ from the app's main ID and secret. Paste both on the agent's Connectors tab, or let the agent set Threads up from Chat, and sign in with the profile the agent should post as.
Who can connect before Meta reviews my Threads app?
Until Meta approves the app, only Threads accounts with a role on it can connect. Add your profile under App roles as a Threads Tester, using its Threads username, and accept the invite in the Threads app under Website permissions. To let any account connect, submit each permission for App Review and publish the app.
Can I automate Threads posting without approving each post?
Yes, with a Scheduled Task, which publishes on its own by default so a morning post goes out on time. In Chat, publishing, hiding replies and deleting wait for your approval, and reading replies and insights runs on its own. Separate Allow, Ask and Block settings for Chat and for Scheduled Tasks sit on the agent's Connectors tab.
What limits does Threads set on posting?
Each profile can publish 250 posts, 1,000 replies and 100 deletions in any 24 hours, and a carousel counts as one post. A post holds 500 characters and up to 5 links. Images are JPEG or PNG up to 8 MB, and videos are MP4 or MOV up to 5 minutes and 1 GB. Threads offers no scheduled posts through its API.
Does the Threads API cost anything, and how long does the connection last?
Meta does not charge for the Threads API, and connecting Threads to an agent carries no charge of its own. The connection lasts 60 days and renews itself while the agent runs. A private Threads profile has to connect again every 90 days, because Meta extends access only for public profiles.
Where is my Threads token kept?
Only the sign-in uses the Threads App ID and App Secret; the agent never receives them. The access token is stored encrypted and stays hidden from the AI model. To take access back, remove the app in the Threads app's Website permissions and disconnect Threads on the Connectors tab.
Is this a Threads MCP server?
It gives the agent what a Threads MCP server would, its Threads actions as tools, with no server for you to run. The Connector works inside the agent, in Chat and in Scheduled Tasks.
Access
Revoke Threads access
Remove the app's access in your Threads account's connected apps settings, then disconnect it here.
Related connectors
More social connectors for your Wiro agent
TikTok
Upload and publish videos to a TikTok account.
Tumblr
Create and publish posts on your Tumblr blogs.
X
Post, reply and read on X (Twitter).
YouTube
Upload and publish videos and Shorts, edit metadata and playlists, and read channel analytics.
Bluesky
Read profiles and post to Bluesky with links, mentions, hashtags and images.
Facebook Pages
Publish posts, photos and videos to your Facebook Pages and read their engagement.
Put Threads to work with Wiro
Deploy an agent and connect Threads from its Connectors tab. Every agent plan includes it: Starter $5, Pro $30 and Max $100 a month.