About Twitter
Twitter allows businesses to share concise messages, images, videos, and polls to engage with customers and followers in real time. It supports direct messaging for authentic, personalized communication with key stakeholders and influencers. Businesses can leverage hashtags and mentions to increase visibility and participate in trending conversations, expanding their reach organically. The platform's user-generated content and social proof help build trust and credibility with target audiences. Additionally, Twitter's analytics provide insights into follower behavior, enabling businesses to refine marketing strategies and improve engagement.
AI Agent Use Cases
• AI agents can automate monitoring of brand mentions and relevant hashtags to provide real-time sentiment analysis and alert businesses to emerging trends or crises. They can schedule and optimize tweet posting times based on engagement data to maximize reach and interaction. Furthermore, AI agents can manage direct message responses and customer inquiries autonomously, ensuring timely and personalized communication that enhances customer service and lead generation on Twitter.
Available Actions
These are the specific actions that AI agents can perform with this tool
Find Tweets By Search Query
9 inputs
Returns recent or popular Tweets that match a given search query from the last 7 days.
q
The search query string. May include standard Twitter search operators. This is required and should follow search syntax supported by Twitter (see documentation for available operators).
lang
Restricts tweets to the given language, specified by an ISO 639-1 code (e.g., 'en' for English). Optional.
locale
The 'locale' of the query you are sending, primarily for picking result language. Optional.
result_type
Specifies what type of search results to receive. Defaults to 'mixed'. Options: 'mixed', 'recent', or 'popular'.
count
Number of tweets to return per page. The maximum is 100; the default is 15.
until
Returns tweets created before the given date. Date should be formatted as YYYY-MM-DD. Maximum range: 7 days in the past.
since_id
Returns results with an ID greater than (that is, more recent than) the specified tweet ID.
max_id
Returns results with an ID less than (that is, older than) or equal to the specified tweet ID.
include_entities
If set to true, the response will include the entities node, providing metadata such as hashtags and URLs.
Creates a follow relationship so the authenticated user follows the specified user.
user_id
The unique ID of the user that the authenticated user wants to follow. This is required and must be a valid Twitter user ID.
Get Accounts This User Follows
3 inputs
Retrieves the list of user IDs or user profiles that a specified user is following.
user_id
The ID of the user whose following (friends) list is being requested.
cursor
A string value to paginate results; pass -1 to retrieve the first page, and use the next_cursor from the previous response for subsequent pages.
count
The maximum number of user IDs or objects to retrieve per request. If not specified, a server default is used (often 20-200).
Search Recent Tweets
7 inputs
Retrieves recent Tweets matching a specified query from the past 7 days.
q
The search query string to match Tweets. Use Twitter’s search operators to refine the results. This parameter must be URL encoded and must not exceed 512 characters.
count
The number of Tweets to return per page, up to a maximum of 100.
result_type
Type of results to retrieve: recent, popular, or both (mixed).
since_id
Returns Tweets with IDs greater than (that is, more recent than) the specified Tweet ID.
max_id
Returns Tweets with IDs less than (that is, older than) or equal to the specified Tweet ID.
lang
Restricts Tweets to the given language.
locale
Specify the language of the query itself (only effective in some languages).
Unfollow Another User
1 input
Stops the authenticated user from following a specified user on Twitter/X.
user_id
The unique identifier of the user to unfollow. This should be the string user ID of the account to remove from the authenticated user's following list.