# Twitter integration

<figure><img src="/files/h8iCV0xgr25dqsXM1EHc" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/u5Nr8HgUfWsFR9uJDLj2" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/lkqCAzBeK7LNKhXxyiRo" alt=""><figcaption></figcaption></figure>

#### Callback URI / Redirect URL (required)

**Enter exactly:**

```
https://backend.composio.dev/api/v1/auth-apps/add
```

* No trailing slash
* HTTPS (not HTTP)
* Exact spelling — one typo and OAuth fails with "callback mismatch"
* Do **not** click "Add another" — one URI is enough

#### Website URL (required)

Enter any valid HTTPS URL you control. Easiest options (pick one):

```
https://molt.id
```

or

```
https://www.metaplex.com/token/REPLACE_WITH_YOUR_MINT
```

or

```
https://agentclaw.moltid.workers.dev
```

X just needs a URL that resolves — doesn't validate content.

#### Organization name (optional)

Enter: `molt.id` (or leave blank — X is OK with blank)

#### Organization URL (optional)

Enter: `https://molt.id` (or leave blank)

#### Terms of Service (optional)

**Leave blank.**

#### Privacy Policy (optional)

**Leave blank.**

Both of these are only required if you checked "Request email from users" (which you're not).

### Then click Save

X will redirect you back to the app's Keys and tokens page. You should now see a new section called **"OAuth 2.0 Client ID and Client Secret"** (in addition to the OAuth 1.0 section that was already there).

<figure><img src="/files/mP3MjabHG9Ll81cUIjlW" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/MBYfOO4rIpK9TP2dy33D" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/kVNmEzvbk5SOWhMiGe0Z" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/WcDdf0mNoKRRVk5FGwxp" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.molt.id/getting-started/ai-agent-tokens/twitter-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
