Skip to content

X (Twitter)

Monitor your X account for mentions, brand discussions, and industry trends. Phyllax uses the official Twitter API v2 to search for tweets mentioning you or your keywords.

Quick Setup

  1. Go to developer.x.com/en/portal/dashboard
  2. Create a project and app if you haven't already
  3. Under User authentication settings, enable OAuth 1.0a with Read and Write permissions
  4. Set App type to Native App
  5. Set Callback URL to https://phyllax.com/callback
  6. Go to your app → Keys and Tokens
  7. Under Consumer Keys, copy the API Key and API Key Secret
  8. Under Authentication Tokens → OAuth 1.0a, click Generate to get Access Token and Access Token Secret
  9. In Phyllax → Integrations → X (Twitter) → Connect → paste all four values

Required Credentials

FieldWhere to find it
API Keydeveloper.x.com → Your App → Keys and Tokens → Consumer Keys
API Key Secretdeveloper.x.com → Your App → Keys and Tokens → Consumer Keys
Access Tokendeveloper.x.com → Your App → Keys and Tokens → OAuth 1.0a → Generate
Access Token Secretdeveloper.x.com → Your App → Keys and Tokens → OAuth 1.0a → Generate

All four keys required

X's API uses OAuth 1.0a which requires all four credentials. Generate them all from the same app on the developer portal. Make sure OAuth 1.0a is enabled (not just OAuth 2.0).

What Phyllax Monitors

ScheduleWhat it checks
Mentions & repliesSearches for tweets mentioning your account — replies, quote tweets, @mentions
Negative mentionsSearches for negative or complaint tweets about your account or brand
Keyword mentionsSearches for tweets mentioning a specific keyword or hashtag
Brand monitoringSearches for tweets about your brand — summarizes sentiment
Industry newsSearches for trending discussions in your industry
Customer questionsSearches for questions directed at your account

Available tools

Phyllax's X integration uses two core tools: search_tweets (search for any tweets by keyword, mention, or hashtag) and post_tweet (post a tweet on your behalf, with confirmation). All monitoring schedules use search to find relevant activity.

Notification Actions

When X finds something important, the notification card shows:

  • Reply to comment — AI drafts a reply you can edit before posting via post_tweet
  • View post — open the tweet on X
  • Hide comment — mute the user
  • View analytics — see engagement context

All action chips that involve writing (Reply, etc.) open the AI draft panel — AI generates a suggested response that you review and confirm before posting.

Limitations

  • No DM access — Twitter API v2 restricts DM endpoints. Phyllax cannot read or send direct messages.
  • No follower analytics — Follower counts and changes are not available via search.
  • Rate limits — Twitter's Free tier allows 10 searches per month. The Basic tier ($100/month) provides 10,000 tweets/month. Check your tier at developer.x.com.

Troubleshooting

"401 Unauthorized" error

One or more of your four API keys is incorrect. Regenerate all four from developer.x.com → Your App → Keys and Tokens and update them in Phyllax.

"403 Forbidden — You are not permitted"

Your X developer account may be on the Free tier, which has very limited API access (10 searches/month). The Basic tier is required for regular monitoring.

Server exits immediately

Make sure you're using all four OAuth 1.0a credentials (not the OAuth 2.0 Bearer Token). The MCP server requires OAuth 1.0a to authenticate.

Phyllax — a local desktop sentinel for your work tools