# Twitter

### Access the Twitter App Console

* Navigate to the [Twitter Developer Platform](https://developer.twitter.com/en) and sign up if you haven't already.
* You might be required to apply for a developer account where you'll need to provide some information about your intended use of Twitter’s API.

### Create OAuth app

* After logging in to your Twitter Developer account, navigate to the [Developer Dashboard](https://developer.twitter.com/en/portal/dashboard).
* Twitter should automatically create a default project and application for you. If it doesn't, click "Create Project" and follow the prompts to set up a new one. After creating the project, you'll be able to create an application. Navigate to your project and select "Add App."
* Update application details, such as the name, description, and icon, by clicking the "Edit" button. Next, configure the authentication settings.

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

### User Authentication Settings

* Set the "App permissions" to "Read and write" and "Type of App" to "Web App"
* Set the Redirect URI to `https://[YOUR_API_BASE]/auth/twitter/callback`, for example `https://api.appmixer.com/auth/titter/callback`&#x20;

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

### Keys and Tokens

* Get the `Client Id` and `Client Secret` from the Keys and Tokens page&#x20;

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

* Configure the App Key as `clientId` and the App Secret as `clientSecret` in the service settings within the Backoffice, under the configuration ID `appmixer:twitter`.
* To learn more about configuring connectors, please visit the [Connector Configuration](https://docs.appmixer.com/appmixer/getting-started/services) section.


---

# 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.appmixer.com/6.0/6.1/app-registration/twitter.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.
