X (ранее Twitter) — популярная социальная платформа, обеспечивающая коммуникацию в реальном времени, распространение контента и взаимодействие с аудиториями по всему миру.
Интеграция X в AACFlow использует OAuth-аутентификацию для безопасного подключения к API X и позволяет вашим агентам программно взаимодействовать с платформой. Реализация OAuth обеспечивает безопасный доступ к возможностям X с сохранением приватности и безопасности пользователей.
Интеграция X позволяет вашим агентам:
- Публиковать контент: создавайте новые твиты, отвечайте в существующих диалогах или делитесь медиа прямо из ваших воркфлоу
- Отслеживать диалоги: следите за упоминаниями, ключевыми словами или конкретными аккаунтами, чтобы быть в курсе релевантных обсуждений
- Взаимодействовать с аудиторией: автоматически отвечайте на упоминания, личные сообщения или конкретные триггеры
- Анализировать тренды: собирайте инсайты по трендовым темам, хэштегам или паттернам вовлечённости пользователей
- Искать информацию: ищите конкретный контент, профили пользователей или беседы, чтобы информировать решения агента
Интеграция X в AACFlow позволяет реализовывать сложные сценарии автоматизации в социальных сетях. Ваши агенты могут отслеживать упоминания бренда и адекватно реагировать, планировать и публиковать контент по конкретным триггерам, проводить social listening для маркетинговых исследований или создавать интерактивный опыт, объединяющий разговорный AI и работу в социальных сетях. Связывая AACFlow с X через OAuth, вы можете строить интеллектуальных агентов, которые поддерживают последовательное и отзывчивое присутствие в социальных сетях с соблюдением политик платформы и лучших практик использования API.
Интегрируйте X в рабочий процесс. Поиск tweets, manage bookmarks, follow/block/mute users, like и retweet, view trends, и more.
Создать новый tweet, reply, или quote tweet on X
| Параметр | Тип | Обязательный | Описание |
|---|
text | string | Да | The text content of the tweet (max 280 characters) |
replyToTweetId | string | Нет | Tweet ID to reply to |
quoteTweetId | string | Нет | Tweet ID to quote |
mediaIds | string | Нет | Comma-separated media IDs to attach (up to 4) |
replySettings | string | Нет | Who can reply: "mentionedUsers", "following", "subscribers", or "verified" |
| Параметр | Тип | Описание |
|---|
id | string | The ID of the created tweet |
text | string | The text of the created tweet |
Удалить tweet authored by the authenticated user
| Параметр | Тип | Обязательный | Описание |
|---|
tweetId | string | Да | The ID of the tweet to delete |
| Параметр | Тип | Описание |
|---|
deleted | boolean | Произошла ли tweet was successfully deleted |
Поиск recent tweets using keywords, hashtags, или advanced запрос operators
| Параметр | Тип | Обязательный | Описание |
|---|
query | string | Да | Search query (supports operators like "from:", "to:", "#hashtag", "has:images", "is:retweet", "lang:") |
maxResults | number | Нет | Maximum number of results (10-100, default 10) |
startTime | string | Нет | Oldest UTC timestamp in ISO 8601 format (e.g., 2024-01-01T00:00:00Z) |
endTime | string | Нет | Newest UTC timestamp in ISO 8601 format |
sinceId | string | Нет | Returns tweets with ID greater than this |
untilId | string | Нет | Returns tweets with ID less than this |
sortOrder | string | Нет | Sort order: "recency" or "relevancy" |
nextToken | string | Нет | Pagination token for next page of results |
| Параметр | Тип | Описание |
|---|
tweets | array | Массив tweets matching the search query |
↳ id | string | Tweet ID |
↳ text | string | Tweet text content |
↳ createdAt | string | Tweet creation timestamp |
↳ authorId | string | Author user ID |
↳ conversationId | string | Conversation thread ID |
↳ inReplyToUserId | string | User ID being replied to |
↳ publicMetrics | object | Engagement metrics |
↳ retweetCount | number | Number of retweets |
↳ replyCount | number | Number of replies |
↳ likeCount | number | Number of likes |
↳ quoteCount | number | Number of quotes |
includes | object | Additional data including user profiles |
↳ users | array | Массив user objects referenced in tweets |
↳ id | string | User ID |
↳ username | string | Username without @ symbol |
↳ name | string | Display name |
↳ description | string | User bio |
↳ profileImageUrl | string | Profile image URL |
↳ verified | boolean | Произошла ли user is verified |
↳ metrics | object | User statistics |
↳ followersCount | number | Number of followers |
↳ followingCount | number | Number of users following |
↳ tweetCount | number | Total number of tweets |
meta | object | Search metadata including result count and постраничная выборка tokens |
↳ resultCount | number | Number of results returned |
↳ newestId | string | ID of the newest tweet |
↳ oldestId | string | ID of the oldest tweet |
↳ nextToken | string | Pagination token for next page |
Look up multiple tweets by their IDs (up to 100)
| Параметр | Тип | Обязательный | Описание |
|---|
ids | string | Да | Comma-separated tweet IDs (up to 100) |
| Параметр | Тип | Описание |
|---|
tweets | array | Массив tweets matching the provided IDs |
↳ id | string | Tweet ID |
↳ text | string | Tweet text content |
↳ createdAt | string | Tweet creation timestamp |
↳ authorId | string | Author user ID |
↳ conversationId | string | Conversation thread ID |
↳ inReplyToUserId | string | User ID being replied to |
↳ publicMetrics | object | Engagement metrics |
↳ retweetCount | number | Number of retweets |
↳ replyCount | number | Number of replies |
↳ likeCount | number | Number of likes |
↳ quoteCount | number | Number of quotes |
includes | object | Additional data including user profiles |
↳ users | array | Массив user objects referenced in tweets |
↳ id | string | User ID |
↳ username | string | Username without @ symbol |
↳ name | string | Display name |
↳ description | string | User bio |
↳ profileImageUrl | string | Profile image URL |
↳ verified | boolean | Произошла ли user is verified |
↳ metrics | object | User statistics |
↳ followersCount | number | Number of followers |
↳ followingCount | number | Number of users following |
↳ tweetCount | number | Total number of tweets |
Получить tweets that quote a specific tweet
| Параметр | Тип | Обязательный | Описание |
|---|
tweetId | string | Да | The tweet ID to get quote tweets for |
maxResults | number | Нет | Maximum number of results (10-100, default 10) |
постраничная выборкаToken | string | Нет | Pagination token for next page |
| Параметр | Тип | Описание |
|---|
tweets | array | Массив quote tweets |
↳ id | string | Tweet ID |
↳ text | string | Tweet text content |
↳ createdAt | string | Tweet creation timestamp |
↳ authorId | string | Author user ID |
↳ conversationId | string | Conversation thread ID |
↳ inReplyToUserId | string | User ID being replied to |
↳ publicMetrics | object | Engagement metrics |
↳ retweetCount | number | Number of retweets |
↳ replyCount | number | Number of replies |
↳ likeCount | number | Number of likes |
↳ quoteCount | number | Number of quotes |
meta | object | Pagination metadata |
↳ resultCount | number | Number of results returned |
↳ nextToken | string | Token for next page |
Hide или unhide a reply to a tweet authored by the authenticated user
| Параметр | Тип | Обязательный | Описание |
|---|
tweetId | string | Да | The reply tweet ID to hide or unhide |
hidden | boolean | Да | Set to true to hide the reply, false to unhide |
| Параметр | Тип | Описание |
|---|
hidden | boolean | Произошла ли reply is now hidden |
Получить tweets authored by a specific user
| Параметр | Тип | Обязательный | Описание |
|---|
userId | string | Да | The user ID whose tweets to retrieve |
maxResults | number | Нет | Maximum number of results (5-100, default 10) |
постраничная выборкаToken | string | Нет | Pagination token for next page of results |
startTime | string | Нет | Oldest UTC timestamp in ISO 8601 format |
endTime | string | Нет | Newest UTC timestamp in ISO 8601 format |
sinceId | string | Нет | Returns tweets with ID greater than this |
untilId | string | Нет | Returns tweets with ID less than this |
exclude | string | Нет | Comma-separated types to exclude: "retweets", "replies" |
| Параметр | Тип | Описание |
|---|
tweets | array | Массив tweets by the user |
↳ id | string | Tweet ID |
↳ text | string | Tweet text content |
↳ createdAt | string | Tweet creation timestamp |
↳ authorId | string | Author user ID |
↳ conversationId | string | Conversation thread ID |
↳ inReplyToUserId | string | User ID being replied to |
↳ publicMetrics | object | Engagement metrics |
↳ retweetCount | number | Number of retweets |
↳ replyCount | number | Number of replies |
↳ likeCount | number | Number of likes |
↳ quoteCount | number | Number of quotes |
includes | object | Additional data including user profiles |
↳ users | array | Массив user objects referenced in tweets |
↳ id | string | User ID |
↳ username | string | Username without @ symbol |
↳ name | string | Display name |
↳ description | string | User bio |
↳ profileImageUrl | string | Profile image URL |
↳ verified | boolean | Произошла ли user is verified |
↳ metrics | object | User statistics |
↳ followersCount | number | Number of followers |
↳ followingCount | number | Number of users following |
↳ tweetCount | number | Total number of tweets |
meta | object | Pagination metadata |
↳ resultCount | number | Number of results returned |
↳ newestId | string | ID of the newest tweet |
↳ oldestId | string | ID of the oldest tweet |
↳ nextToken | string | Token for next page |
↳ previousToken | string | Token for previous page |
Получить tweets that mention a specific user
| Параметр | Тип | Обязательный | Описание |
|---|
userId | string | Да | The user ID whose mentions to retrieve |
maxResults | number | Нет | Maximum number of results (5-100, default 10) |
постраничная выборкаToken | string | Нет | Pagination token for next page of results |
startTime | string | Нет | Oldest UTC timestamp in ISO 8601 format |
endTime | string | Нет | Newest UTC timestamp in ISO 8601 format |
sinceId | string | Нет | Returns tweets with ID greater than this |
untilId | string | Нет | Returns tweets with ID less than this |
| Параметр | Тип | Описание |
|---|
tweets | array | Массив tweets mentioning the user |
↳ id | string | Tweet ID |
↳ text | string | Tweet text content |
↳ createdAt | string | Tweet creation timestamp |
↳ authorId | string | Author user ID |
↳ conversationId | string | Conversation thread ID |
↳ inReplyToUserId | string | User ID being replied to |
↳ publicMetrics | object | Engagement metrics |
↳ retweetCount | number | Number of retweets |
↳ replyCount | number | Number of replies |
↳ likeCount | number | Number of likes |
↳ quoteCount | number | Number of quotes |
includes | object | Additional data including user profiles |
↳ users | array | Массив user objects referenced in tweets |
↳ id | string | User ID |
↳ username | string | Username without @ symbol |
↳ name | string | Display name |
↳ description | string | User bio |
↳ profileImageUrl | string | Profile image URL |
↳ verified | boolean | Произошла ли user is verified |
↳ metrics | object | User statistics |
↳ followersCount | number | Number of followers |
↳ followingCount | number | Number of users following |
↳ tweetCount | number | Total number of tweets |
meta | object | Pagination metadata |
↳ resultCount | number | Number of results returned |
↳ newestId | string | ID of the newest tweet |
↳ oldestId | string | ID of the oldest tweet |
↳ nextToken | string | Token for next page |
↳ previousToken | string | Token for previous page |
Получить reverse chronological home timeline для the authenticated user
| Параметр | Тип | Обязательный | Описание |
|---|
userId | string | Да | The authenticated user ID |
maxResults | number | Нет | Maximum number of results (1-100, default 10) |
постраничная выборкаToken | string | Нет | Pagination token for next page of results |
startTime | string | Нет | Oldest UTC timestamp in ISO 8601 format |
endTime | string | Нет | Newest UTC timestamp in ISO 8601 format |
sinceId | string | Нет | Returns tweets with ID greater than this |
untilId | string | Нет | Returns tweets with ID less than this |
exclude | string | Нет | Comma-separated types to exclude: "retweets", "replies" |
| Параметр | Тип | Описание |
|---|
tweets | array | Массив timeline tweets |
↳ id | string | Tweet ID |
↳ text | string | Tweet text content |
↳ createdAt | string | Tweet creation timestamp |
↳ authorId | string | Author user ID |
↳ conversationId | string | Conversation thread ID |
↳ inReplyToUserId | string | User ID being replied to |
↳ publicMetrics | object | Engagement metrics |
↳ retweetCount | number | Number of retweets |
↳ replyCount | number | Number of replies |
↳ likeCount | number | Number of likes |
↳ quoteCount | number | Number of quotes |
includes | object | Additional data including user profiles |
↳ users | array | Массив user objects referenced in tweets |
↳ id | string | User ID |
↳ username | string | Username without @ symbol |
↳ name | string | Display name |
↳ description | string | User bio |
↳ profileImageUrl | string | Profile image URL |
↳ verified | boolean | Произошла ли user is verified |
↳ metrics | object | User statistics |
↳ followersCount | number | Number of followers |
↳ followingCount | number | Number of users following |
↳ tweetCount | number | Total number of tweets |
meta | object | Pagination metadata |
↳ resultCount | number | Number of results returned |
↳ newestId | string | ID of the newest tweet |
↳ oldestId | string | ID of the oldest tweet |
↳ nextToken | string | Token for next page |
↳ previousToken | string | Token for previous page |
Like или unlike a tweet on X
| Параметр | Тип | Обязательный | Описание |
|---|
userId | string | Да | The authenticated user ID |
tweetId | string | Да | The tweet ID to like or unlike |
action | string | Да | Action to perform: "like" or "unlike" |
| Параметр | Тип | Описание |
|---|
liked | boolean | Произошла ли tweet is now liked |
Retweet или unretweet a tweet on X
| Параметр | Тип | Обязательный | Описание |
|---|
userId | string | Да | The authenticated user ID |
tweetId | string | Да | The tweet ID to retweet or unretweet |
action | string | Да | Action to perform: "retweet" or "unretweet" |
| Параметр | Тип | Описание |
|---|
retweeted | boolean | Произошла ли tweet is now retweeted |
Получить tweets liked by a specific user
| Параметр | Тип | Обязательный | Описание |
|---|
userId | string | Да | The user ID whose liked tweets to retrieve |
maxResults | number | Нет | Maximum number of results (5-100) |
постраничная выборкаToken | string | Нет | Pagination token for next page |
| Параметр | Тип | Описание |
|---|
tweets | array | Массив liked tweets |
↳ id | string | Tweet ID |
↳ text | string | Tweet content |
↳ createdAt | string | Creation timestamp |
↳ authorId | string | Author user ID |
meta | object | Pagination metadata |
↳ resultCount | number | Number of results returned |
↳ nextToken | string | Token for next page |
Получить list of users who liked a specific tweet
| Параметр | Тип | Обязательный | Описание |
|---|
tweetId | string | Да | The tweet ID to get liking users for |
maxResults | number | Нет | Maximum number of results (1-100, default 100) |
постраничная выборкаToken | string | Нет | Pagination token for next page |
| Параметр | Тип | Описание |
|---|
users | array | Массив users who liked the tweet |
↳ id | string | User ID |
↳ username | string | Username without @ symbol |
↳ name | string | Display name |
↳ description | string | User bio |
↳ profileImageUrl | string | Profile image URL |
↳ verified | boolean | Произошла ли user is verified |
↳ metrics | object | User statistics |
↳ followersCount | number | Number of followers |
↳ followingCount | number | Number of users following |
↳ tweetCount | number | Total number of tweets |
meta | object | Pagination metadata |
↳ resultCount | number | Number of results returned |
↳ nextToken | string | Token for next page |
Получить list of users who retweeted a specific tweet
| Параметр | Тип | Обязательный | Описание |
|---|
tweetId | string | Да | The tweet ID to get retweeters for |
maxResults | number | Нет | Maximum number of results (1-100, default 100) |
постраничная выборкаToken | string | Нет | Pagination token for next page |
| Параметр | Тип | Описание |
|---|
users | array | Массив users who retweeted the tweet |
↳ id | string | User ID |
↳ username | string | Username without @ symbol |
↳ name | string | Display name |
↳ description | string | User bio |
↳ profileImageUrl | string | Profile image URL |
↳ verified | boolean | Произошла ли user is verified |
↳ metrics | object | User statistics |
↳ followersCount | number | Number of followers |
↳ followingCount | number | Number of users following |
↳ tweetCount | number | Total number of tweets |
meta | object | Metadata |
↳ resultCount | number | Number of results returned |
↳ nextToken | string | Token for next page |
Получить bookmarked tweets для the authenticated user
| Параметр | Тип | Обязательный | Описание |
|---|
userId | string | Да | The authenticated user ID |
maxResults | number | Нет | Maximum number of results (1-100) |
постраничная выборкаToken | string | Нет | Pagination token for next page of results |
| Параметр | Тип | Описание |
|---|
tweets | array | Массив bookmarked tweets |
↳ id | string | Tweet ID |
↳ text | string | Tweet text content |
↳ createdAt | string | Tweet creation timestamp |
↳ authorId | string | Author user ID |
↳ conversationId | string | Conversation thread ID |
↳ inReplyToUserId | string | User ID being replied to |
↳ publicMetrics | object | Engagement metrics |
↳ retweetCount | number | Number of retweets |
↳ replyCount | number | Number of replies |
↳ likeCount | number | Number of likes |
↳ quoteCount | number | Number of quotes |
includes | object | Additional data including user profiles |
↳ users | array | Массив user objects referenced in tweets |
↳ id | string | User ID |
↳ username | string | Username without @ symbol |
↳ name | string | Display name |
↳ description | string | User bio |
↳ profileImageUrl | string | Profile image URL |
↳ verified | boolean | Произошла ли user is verified |
↳ metrics | object | User statistics |
↳ followersCount | number | Number of followers |
↳ followingCount | number | Number of users following |
↳ tweetCount | number | Total number of tweets |
meta | object | Pagination metadata |
↳ resultCount | number | Number of results returned |
↳ newestId | string | ID of the newest tweet |
↳ oldestId | string | ID of the oldest tweet |
↳ nextToken | string | Token for next page |
↳ previousToken | string | Token for previous page |
Bookmark a tweet для the authenticated user
| Параметр | Тип | Обязательный | Описание |
|---|
userId | string | Да | The authenticated user ID |
tweetId | string | Да | The tweet ID to bookmark |
| Параметр | Тип | Описание |
|---|
bookmarked | boolean | Произошла ли tweet was successfully bookmarked |
Remove a tweet from the authenticated user
| Параметр | Тип | Обязательный | Описание |
|---|
userId | string | Да | The authenticated user ID |
tweetId | string | Да | The tweet ID to remove from bookmarks |
| Параметр | Тип | Описание |
|---|
bookmarked | boolean | Произошла ли tweet is still bookmarked (should be false after deletion) |
Получить authenticated user
| Параметр | Тип | Обязательный | Описание |
|---|
| Параметр | Тип | Описание |
|---|
user | object | Authenticated user profile |
↳ id | string | User ID |
↳ username | string | Username without @ symbol |
↳ name | string | Display name |
↳ description | string | User bio |
↳ profileImageUrl | string | Profile image URL |
↳ verified | boolean | Произошла ли user is verified |
↳ metrics | object | User statistics |
↳ followersCount | number | Number of followers |
↳ followingCount | number | Number of users following |
↳ tweetCount | number | Total number of tweets |
Поиск X users by name, username, или bio
| Параметр | Тип | Обязательный | Описание |
|---|
query | string | Да | Search keyword (1-50 chars, matches name, username, or bio) |
maxResults | number | Нет | Maximum number of results (1-1000, default 100) |
nextToken | string | Нет | Pagination token for next page |
| Параметр | Тип | Описание |
|---|
users | array | Массив users matching the search query |
↳ id | string | User ID |
↳ username | string | Username without @ symbol |
↳ name | string | Display name |
↳ description | string | User bio |
↳ profileImageUrl | string | Profile image URL |
↳ verified | boolean | Произошла ли user is verified |
↳ metrics | object | User statistics |
↳ followersCount | number | Number of followers |
↳ followingCount | number | Number of users following |
↳ tweetCount | number | Total number of tweets |
meta | object | Search metadata |
↳ resultCount | number | Number of results returned |
↳ nextToken | string | Pagination token for next page |
Получить list of followers для a user
| Параметр | Тип | Обязательный | Описание |
|---|
userId | string | Да | The user ID whose followers to retrieve |
maxResults | number | Нет | Maximum number of results (1-1000, default 100) |
постраничная выборкаToken | string | Нет | Pagination token for next page |
| Параметр | Тип | Описание |
|---|
users | array | Массив follower user profiles |
↳ id | string | User ID |
↳ username | string | Username without @ symbol |
↳ name | string | Display name |
↳ description | string | User bio |
↳ profileImageUrl | string | Profile image URL |
↳ verified | boolean | Произошла ли user is verified |
↳ metrics | object | User statistics |
↳ followersCount | number | Number of followers |
↳ followingCount | number | Number of users following |
↳ tweetCount | number | Total number of tweets |
meta | object | Pagination metadata |
↳ resultCount | number | Number of results returned |
↳ nextToken | string | Token for next page |
Получить list of users that a user — это following
| Параметр | Тип | Обязательный | Описание |
|---|
userId | string | Да | The user ID whose following list to retrieve |
maxResults | number | Нет | Maximum number of results (1-1000, default 100) |
постраничная выборкаToken | string | Нет | Pagination token for next page |
| Параметр | Тип | Описание |
|---|
users | array | Массив users being followed |
↳ id | string | User ID |
↳ username | string | Username without @ symbol |
↳ name | string | Display name |
↳ description | string | User bio |
↳ profileImageUrl | string | Profile image URL |
↳ verified | boolean | Произошла ли user is verified |
↳ metrics | object | User statistics |
↳ followersCount | number | Number of followers |
↳ followingCount | number | Number of users following |
↳ tweetCount | number | Total number of tweets |
meta | object | Pagination metadata |
↳ resultCount | number | Number of results returned |
↳ nextToken | string | Token for next page |
Follow или unfollow a user on X
| Параметр | Тип | Обязательный | Описание |
|---|
userId | string | Да | The authenticated user ID |
targetUserId | string | Да | The user ID to follow or unfollow |
action | string | Да | Action to perform: "follow" or "unfollow" |
| Параметр | Тип | Описание |
|---|
following | boolean | Whether you are now following the user |
pendingFollow | boolean | Произошла ли follow request is pending (for protected accounts) |
Block или unblock a user on X
| Параметр | Тип | Обязательный | Описание |
|---|
userId | string | Да | The authenticated user ID |
targetUserId | string | Да | The user ID to block or unblock |
action | string | Да | Action to perform: "block" or "unblock" |
| Параметр | Тип | Описание |
|---|
blocking | boolean | Whether you are now blocking the user |
Получить list of users blocked by the authenticated user
| Параметр | Тип | Обязательный | Описание |
|---|
userId | string | Да | The authenticated user ID |
maxResults | number | Нет | Maximum number of results (1-1000) |
постраничная выборкаToken | string | Нет | Pagination token for next page |
| Параметр | Тип | Описание |
|---|
users | array | Массив blocked user profiles |
↳ id | string | User ID |
↳ username | string | Username without @ symbol |
↳ name | string | Display name |
↳ description | string | User bio |
↳ profileImageUrl | string | Profile image URL |
↳ verified | boolean | Произошла ли user is verified |
↳ metrics | object | User statistics |
↳ followersCount | number | Number of followers |
↳ followingCount | number | Number of users following |
↳ tweetCount | number | Total number of tweets |
meta | object | Pagination metadata |
↳ resultCount | number | Number of results returned |
↳ nextToken | string | Token for next page |
Mute или unmute a user on X
| Параметр | Тип | Обязательный | Описание |
|---|
userId | string | Да | The authenticated user ID |
targetUserId | string | Да | The user ID to mute or unmute |
action | string | Да | Action to perform: "mute" or "unmute" |
| Параметр | Тип | Описание |
|---|
muting | boolean | Whether you are now muting the user |
Получить trending topics для a specific location от WOEID (e.g., 1 для worldwide, 23424977 для US)
| Параметр | Тип | Обязательный | Описание |
|---|
woeid | string | Да | Yahoo Where On Earth ID (e.g., "1" for worldwide, "23424977" for US, "23424975" for UK) |
maxTrends | number | Нет | Maximum number of trends to return (1-50, default 20) |
| Параметр | Тип | Описание |
|---|
trends | array | Массив trending topics |
↳ trendName | string | Name of the trending topic |
↳ tweetCount | number | Number of tweets for this trend |
Получить personalized trending topics для the authenticated user
| Параметр | Тип | Обязательный | Описание |
|---|
| Параметр | Тип | Описание |
|---|
trends | array | Массив personalized trending topics |
↳ trendName | string | Name of the trending topic |
↳ postCount | number | Number of posts for this trend |
↳ category | string | Category of the trend |
↳ trendingSince | string | ISO 8601 timestamp of when the topic started trending |
Получить API usage data для your X project
| Параметр | Тип | Обязательный | Описание |
|---|
days | number | Нет | Number of days of usage data to return (1-90, default 7) |
| Параметр | Тип | Описание |
|---|
capResetDay | number | Day of month when usage cap resets |
projectId | string | The project ID |
projectCap | number | The project tweet consumption cap |
projectUsage | number | Total tweets consumed in current period |
dailyProjectUsage | array | Daily project usage breakdown |
↳ date | string | Usage date in ISO 8601 format |
↳ usage | number | Number of tweets consumed |
dailyClientAppUsage | array | Daily per-app usage breakdown |
↳ clientAppId | string | Client application ID |
↳ usage | array | Daily usage entries for this app |
↳ date | string | Usage date in ISO 8601 format |
↳ usage | number | Number of tweets consumed |