Twitter Academic Research API course - Postman module
Number of APIs: 19
Welcome!
The Qodex Student Programs team has assembled this collection to help users through common Twitter API V2 workflows as part of an educational module to include in Twitter's Getting Started learning module library. This is a working document and we're always looking for ways to improve, so please let us know if there is something you think would be a good addition here. You can contact us by [leaving a comment] on any of the available collections in this workspace. Refer to the main Twitter API documentation for more details.
Fork this collection into your own workspace to access all 13 learning modules and be sure to set the bearer_token
variable in this collection (found in the Variables tab) to the token which was assigned to you through Twitter's Developer Portal.
-
01 - Search for tweets from the last 7 days - Recent search GET https://api.twitter.com/2/tweets/search/recent?query=getpostman&tweet.fields=conversation_id&expansions=author_id
-
02 - Tweet Volume for Tweets from the last 7 days - Recent Tweet counts GET https://api.twitter.com/2/tweets/counts/recent?query=lakers
-
03 - Build a Conversation Thread - Build a conversation thread GET https://api.twitter.com/2/tweets/:id?tweet.fields=conversation_id&expansions=author_id,referenced_tweets.id,in_reply_to_user_id&user.fields=username
-
04 - Writing response from recent search to a text file - Recent search GET https://api.twitter.com/2/tweets/search/recent?query=getpostman&tweet.fields=conversation_id&expansions=author_id
-
06 - Getting a User's Mentions - User by Username GET https://api.twitter.com/2/users/by/username/:username
-
06 - Getting a User's Mentions - Mentions GET https://api.twitter.com/2/users/{{user_ID}}/mentions
-
07 - Getting a random 1% sample of Tweets in real-time - Stream (see description) GET https://api.twitter.com/2/tweets/sample/stream
-
08 - Filtering for Tweets on a topic using filtered-stream-Filtered Stream - Retrieve Rules GET https://api.twitter.com/2/tweets/search/stream/rules
-
08 - Filtering for Tweets on a topic using filtered-stream-Filtered Stream - Delete Rules (by rule value) POST https://api.twitter.com/2/tweets/search/stream/rules
-
10 - Users that a User is Following - Users that a user ID is following GET https://api.twitter.com/2/users/:id/following