X Twitter Poster avatar

X Twitter Poster

Pricing

from $0.01 / 1,000 results

Go to Apify Store
X Twitter Poster

X Twitter Poster

Automate posting to Twitter/X! Create tweets, replies, and threads. Features Single Tweets - Post text updates Threads - Create multi-tweet threads Replies - Reply to specific tweets Images - Attach photos (coming soon)

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

The Howlers

The Howlers

Maintained by Community

Actor stats

2

Bookmarked

32

Total users

5

Monthly active users

13 days ago

Last modified

Share

Twitter/X Poster

Twitter/X Automation - Post tweets, create threads, and send replies without expensive API access. Browser automation bypasses Twitter API costs ($100/mo Basic tier). Perfect for social media marketing, brand management, and automated engagement.

BYOK (Bring Your Own Key) -- you provide your own API credentials.


Before You Start

This actor requires your own API credentials to fetch real data.

Where to get your key: Twitter/X password

You can test with Demo Mode first (free, no key needed) to see the output format before committing.


Quick Start

Test with Demo Mode (free, no API key needed)

{
"demoMode": true,
"imageUrls": "https://example.com",
"replyToUrl": "https://example.com"
}

Run with real data

{
"demoMode": false,
"password": "YOUR_API_KEY_HERE",
"cookies": "YOUR_API_KEY_HERE",
"imageUrls": "https://example.com",
"replyToUrl": "https://example.com",
"isThread": false,
"timeout": 120,
"cookieKvStoreName": "cookie-sessions"
}

Input Parameters

ParameterTypeDefaultRequiredDescription
usernamestring-NoTwitter/X username or email
passwordstring-Yes*Twitter/X password
cookiesstring-Yes*Exported cookies from logged-in session (recommended)
tweetstring-NoThe text of your tweet (max 280 characters)
imageUrlsarray-NoURLs of images to attach (max 4)
replyToUrlstring-NoURL of tweet to reply to (optional)
isThreadbooleanfalseNoCreate a thread instead of single tweet
threadTweetsarray-NoArray of tweets for thread (if isThread is true)
timeoutinteger120NoMaximum time to wait for the operation to complete
demoModebooleantrueNoRun in demo mode without real credentials. Returns mock success response for testing.
webhookUrlstring-NoURL to receive a POST request when the actor run finishes. Useful for integrations with Zapier, Make, n8n, or custom automation workflows.
indexNowKeystring-NoOptional IndexNow API key for instant search engine indexing of posted content. Get your key at https://www.bing.com/indexnow
cookieStorageKeystring-NoKey in the KV store to load cookies from (created by Cookie Manager actor). If provided and no manual cookies are set, cookies will be loaded automatically from the KV store.
cookieKvStoreNamestring"cookie-sessions"NoName of the Apify Key-Value store holding cookie sessions. Default: 'cookie-sessions'

*Required when Demo Mode is off.


Pricing

This actor uses pay-per-event billing:

EventDescriptionPrice
Tweet PostedEach tweet or reply posted to Twitter/X$0.05

Demo mode is free -- no charges for sample data.


Troubleshooting

"API key is required"

You have Demo Mode turned off but didn't provide an API key. Either:

  • Turn Demo Mode on to test with sample data
  • Add your API key in the input

"API error 403" or "Unauthorized"

Your API key is invalid, expired, or doesn't have access to this specific API endpoint. Double-check your key and account permissions.

"API error 429" or "Rate limit"

Too many requests. Wait a minute and try again, or reduce the number of items per run.

No results or empty dataset

Check the run log for error messages. Common causes:

  • Invalid input format (check the examples above)
  • API key without proper permissions
  • The target data doesn't exist or is too small to track

How do I test without an API key?

Enable Demo Mode in the input. This returns realistic sample data so you can verify the output format works for your workflow.


Built by John Rippy | Actor Arsenal