When to use it
Use it for a public support handle or a direct-message inbox on X. Connecting an assistant means those mentions and direct messages are answered with that assistant’s instructions and tools, instead of waiting in the X inbox.What the assistant hears
The assistant hears post mentions and direct messages for the account that authorized the app. X checks the webhook with a CRC challenge, and Famulor answers that check. Subscribe topost.mention.create, dm.received and dm.sent.
Where the keys come from
The linked provider guide shows the screens for these clicks. Follow the clicks below together with those pictures. Create a project and an app at developer.x.com. Under Keys and tokens, copy the API Key Secret. That is the API Key Secret (consumer secret) on the Famulor card. Also turn on OAuth 2.0 user authentication with the scopestweet.read, tweet.write, users.read, dm.read, dm.write, like.write and offline.access. Complete the sign-in for the bot account and keep either the user access token, or the client ID together with the refresh token. The webhook itself is registered in the X developer console. Official guide: Activity API.
Create it at the provider
- At developer.x.com, create a project and an app.
- Open Keys and tokens and copy the API Key Secret.
- Enable OAuth 2.0 for the bot user with the scopes listed above.
- Finish the sign-in and copy the user access token, or the client ID and the refresh token.
- Optional: copy the bot user ID and the @handle if you already have them. Famulor can store both on the card.
Connect it in Famulor
Your plan includes this channel. Open Settings → Channels, choose the card, name the connection, pick an assistant and save. The shared conversation settings — response delay (default 5 seconds) and inactivity timeout (default 30 minutes) — are described on the messaging channels page. On the X card, API Key Secret (consumer secret) is required. Also paste either OAuth 2.0 user access token, or both OAuth client ID (optional, managed refresh) and OAuth refresh token (optional). Bot user ID (optional) and Bot @handle (optional) can stay empty.Point the provider at Famulor
- Copy the Famulor webhook URL from the connection menu. It must be public HTTPS with no port in the address.
- In the X developer console, register that URL as the Activity API webhook. X sends a CRC challenge, and Famulor answers it.
- Subscribe to
post.mention.create,dm.receivedanddm.sent. The bot account has to have authorized the app first. - A new mention or direct message appears in History.