Documentation Index
Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
π Quickstart
Connect to Twitter v2 with Nango and see data flow in 2 minutes.Create the integration
In Nango (free signup), go to Integrations -> Configure New Integration -> Twitter v2.
Authorize Twitter v2
Go to Connections -> Add Test Connection -> Authorize, then log in to Twitter. Later, youβll let your users do the same directly from your app.
Call the Twitter v2 API
Letβs make your first request to the Twitter v2 API. Replace the placeholders below with your secret key, integration ID, and connection ID:Or fetch credentials with the Node SDK or API.β
Youβre connected! Check the Logs tab in Nango to inspect requests.
- cURL
- Node
Implement Nango in your app
Follow our Auth implementation guide to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.
π Twitter v2 Integration Guides
Nango maintained guides for common use cases.- How to register your own Twitter v2 OAuth app
Register an OAuth app with Twitter and obtain credentials to connect it to Nango
π§© Pre-built syncs & actions for Twitter v2
Enable them in your dashboard. Extend and customize to fit your needs.Bookmarks
| Function name | Description | Type | Source code |
|---|---|---|---|
bookmark-tweet | Bookmark a tweet for an authenticated user. | Action | π Github |
remove-bookmark | Remove a tweet bookmark | Action | π Github |
Follows
| Function name | Description | Type | Source code |
|---|---|---|---|
unfollow-user | Unfollow a user from the authenticated account | Action | π Github |
Likes
| Function name | Description | Type | Source code |
|---|---|---|---|
create-liked-tweet | Create a liked tweet in Twitter/X | Action | π Github |
delete-liked-tweet | Remove a liked tweet (unlike) for the authenticated user. | Action | π Github |
get-liked-tweet | Retrieve a single liked tweet from Twitter/X by its ID. | Action | π Github |
like-tweet | Like a tweet | Action | π Github |
list-liked-tweets | List liked tweets from a specific Twitter/X user | Action | π Github |
unlike-tweet | Unlike a Tweet | Action | π Github |
Lists
| Function name | Description | Type | Source code |
|---|---|---|---|
create-list | Create a list in Twitter/X | Action | π Github |
delete-list | Delete a List owned by the authenticated user | Action | π Github |
get-list | Retrieve a single list from Twitter/X | Action | π Github |
list-lists | List all Lists owned by a specified user from X API | Action | π Github |
update-list | Update a list in Twitter/X. | Action | π Github |
Mentions
| Function name | Description | Type | Source code |
|---|---|---|---|
get-mention | Retrieve a single mention from Twitter/X. | Action | π Github |
list-mentions | List mentions from Twitter/X for a specified user. | Action | π Github |
Spaces
| Function name | Description | Type | Source code |
|---|---|---|---|
get-space | Retrieve a single space from Twitter/X | Action | π Github |
list-spaces | List Spaces from Twitter/X matching a search query | Action | π Github |
Tweets
| Function name | Description | Type | Source code |
|---|---|---|---|
create-tweet | Create a tweet in Twitter/X. | Action | π Github |
delete-tweet | Delete or archive a tweet in Twitter/X | Action | π Github |
get-tweet | Retrieve a single tweet from Twitter/X. | Action | π Github |
list-tweets | List tweets from a specific Twitter/X user timeline. | Action | π Github |
Users
| Function name | Description | Type | Source code |
|---|---|---|---|
follow-user | Follow a user from the authenticated account. | Action | π Github |
get-user | Retrieve a single user from Twitter/X | Action | π Github |
list-users | List users from Twitter/X by IDs or usernames | Action | π Github |
Others
| Function name | Description | Type | Source code |
|---|---|---|---|
liked-tweets | Sync liked tweets from Twitter/X | Sync | π Github |
lists | Sync lists from Twitter/X. | Sync | π Github |
mentions | Sync mentions from Twitter/X | Sync | π Github |
spaces | Sync spaces from Twitter/X using the search endpoint | Sync | π Github |
tweets | Sync tweets from Twitter/X user timeline | Sync | π Github |
users | Sync users from Twitter/X | Sync | π Github |