Skip to main content
X (Twitter)
X (Twitter)
55 actions · 2 auth methods
Preview

Authentication

OAuth 2.0

Use for actions on behalf of a user (posting, liking, following). Requires user authorization.Guides: Connector Profile, Link Account

App-Only Bearer Token

Use for read-only access to public data (search, lookups). No user authorization needed.Guides: Connector Profile, Link Account
Actions
|
55 actions
Action
Description
Required scopes
Create Tweet
Create a new tweet on behalf of the authenticated user.
Delete Tweet
Delete a tweet posted by the authenticated user.
Get Tweet
Retrieve a single tweet by its ID.
Search Recent Tweets
Search for tweets from the past 7 days matching a query.
Get User Tweets
Retrieve tweets posted by a specific user.
Get User Mentions
Retrieve tweets mentioning a specific user.
Get Home Timeline
Retrieve the authenticated user’s reverse chronological home timeline.
Retweet
Retweet a tweet on behalf of the authenticated user.
Undo Retweet
Remove a retweet made by the authenticated user.
Get Retweeters
Retrieve users who retweeted a specific tweet.
Get Quote Tweets
Retrieve tweets that quote a specific tweet.
Hide Reply
Hide a reply to one of the authenticated user’s tweets.
Get Tweet Counts
Get the count of tweets matching a search query over the past 7 days.
Get Authenticated User
Returns the authenticated user’s profile information.
Get User By ID
Retrieve a user’s profile by their unique ID.
Get User By Username
Retrieve a user’s profile by their @username.
Get User Followers
Retrieve a list of users who follow a specific user.
Get User Following
Retrieve a list of users that a specific user follows.
Follow User
Follow another user on behalf of the authenticated user.
Unfollow User
Unfollow a user on behalf of the authenticated user.
Get Muted Users
Retrieve users muted by the authenticated user.
Mute User
Mute a user on behalf of the authenticated user.
Unmute User
Remove a mute on behalf of the authenticated user.
Get Blocked Users
Retrieve users blocked by the authenticated user.
Block User
Block a user on behalf of the authenticated user.
Unblock User
Remove a block on behalf of the authenticated user.
Get DM Events
Retrieve direct message events for the authenticated user.
Get DM Conversation Events
Retrieve events from a specific direct message conversation.
Send Message To DM Conversation
Send a direct message to an existing conversation.
Create DM Conversation And Send Message
Create a new group DM conversation and send an initial message.
Send Direct Message To User
Send a direct message to a specific user, creating a new 1-on-1 conversation if one does not exist.
Get List
Retrieve a single X list by its ID.
Get User Owned Lists
Retrieve lists owned by a specific user.
Create List
Create a new X list on behalf of the authenticated user.
Update List
Update a list’s name, description, or privacy setting.
Delete List
Delete a list owned by the authenticated user.
Get List Tweets
Retrieve tweets from members of a specific list.
Get List Members
Retrieve users who are members of a specific list.
Add List Member
Add a user to a list owned by the authenticated user.
Remove List Member
Remove a user from a list owned by the authenticated user.
Get User List Memberships
Retrieve lists that a user is a member of.
Pin List
Pin a list to the authenticated user’s account.
Unpin List
Unpin a list from the authenticated user’s account.
Get Pinned Lists
Retrieve lists pinned by the authenticated user.
Get Space
Retrieve a single X Space by its ID.
Search Spaces
Search for X Spaces by keyword.
Get Spaces By Creator
Retrieve live or scheduled Spaces created by specific users.
Get Liked Tweets
Retrieve tweets liked by a specific user.
Get Liking Users
Retrieve users who liked a specific tweet.
Like Tweet
Like a tweet on behalf of the authenticated user.
Unlike Tweet
Remove a like from a tweet on behalf of the authenticated user.
Get Bookmarks
Retrieve bookmarked tweets for the authenticated user.
Add Bookmark
Bookmark a tweet for the authenticated user.
Remove Bookmark
Remove a tweet from the authenticated user’s bookmarks.
Get Trends By Location
Retrieve trending topics for a specific location by WOEID.

Getting Started

1

Create or Select a Project

Set up a new project or select an existing one. See the Projects Guide.
2

Configure the Connector

Enable the connector and set up a connector profile in your project. See Managing Connectors.
https://stackone-logos.com/api/x/filled/png

Connector Profile

X (Twitter) - OAuth 2.0
https://stackone-logos.com/api/x/filled/png

Connector Profile

X (Twitter) - App-Only Bearer Token
3

Link an Account

Connect an account using StackOne Hub or Auth Link.
https://stackone-logos.com/api/x/filled/png

Link Account

X (Twitter) - OAuth 2.0
https://stackone-logos.com/api/x/filled/png

Link Account

X (Twitter) - App-Only Bearer Token
4

Use Actions

Invoke actions using one of the methods below: