Create an X Developer account
Go to developer.x.com and sign in with your X account. If you don’t have a developer account yet, complete the short sign-up.
developer.x.com
The X API is now paid and quota is per-app. So each workspace brings its OWN X app (BYO) — keeping cost and quota on your side. This guide walks you through creating your own X app and connecting it to SocialToWeb, step by step.
X works on a pay-per-use (credit) model. Since you use your own app, charges come from your X credits: a tweet ≈ $0.015 ($0.20 if it contains a link), DM/mention reads a few cents each. You top up credits at console.x.com.
Go to developer.x.com and sign in with your X account. If you don’t have a developer account yet, complete the short sign-up.
developer.x.com
In the Developer Portal → “Projects & Apps”, create a new App. Give it a recognizable name, e.g. “Company Name – SocialToWeb”.

App → Settings → “User authentication settings” → Set up / Edit. Configure the following:
https://app.socialtoweb.com/api/auth/x/callbackThe callback address must match EXACTLY; otherwise you’ll get a “redirect_uri mismatch” error when connecting.


From App → “Keys & Tokens”, copy the values below. Secrets are usually shown ONLY ONCE; if you lose one, use “Regenerate”.
| Where in X Console | SocialToWeb field | Used for |
|---|---|---|
| OAuth 2.0 → Client ID | Client ID | Connecting (required) |
| OAuth 2.0 → Client Secret | Client Secret | Connecting (required) |
| App-Only → Bearer Token | Bearer Token | Webhook (real-time) |
| OAuth 1.0 → API Key Secret | API Key Secret | Webhook signature/CRC |
“API Key Secret” (Consumer Secret) is a DIFFERENT value than the OAuth 2.0 “Client Secret”. If you won’t use webhooks, Bearer Token and API Key Secret are optional.



Because X is pay-per-use, you must add credits before publishing/DM works. console.x.com → Billing / Credits → “Buy Credits”.
console.x.comWithout credits you’ll get a “does not have any credits to fulfill this request” error when publishing.

To edit the details later, use the ⚙ (gear) icon on the corner of the X card in Channels.


If you want DMs and mentions to arrive instantly without manual “Sync”, enable the webhook: Channels → X row → ⚡ (lightning) icon.
Prerequisites:
Tapping ⚡ registers the webhook with your X app automatically and subscribes your account. After that, DMs/mentions arrive in real time.

The callback address doesn’t match exactly. Make the Callback URI in step 3 identical to the one shown in SocialToWeb.
App permission isn’t “Read and write and Direct message”. Update it and reconnect the channel.
No X credits. Top up in step 5.
Bearer Token and API Key Secret are required for webhooks. Get them in step 4 and enter them in the form.
A DM from someone who doesn’t follow you may land in “Message requests” on X and not appear via the API. Accept the request in the X app.