Welcome!

The Qodex Student Programs team has assembled a workspace 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.

Getting Started

Fork the Twitter Academic Research API course - Qodex modules collection. Check out our [learning docs] to learn how to fork a collection.

Authorization

At the Collection level, Authorization can be configured to apply to Requests within the Collection (as long as each request's Authorization inherits auth from parent).

Bearer Token

For some Twitter API V2 endpoints, a Bearer Token is all that's needed and will be provided to developers who have set up a project and app in Twitter's developer portal. In this case, you can set Authorization to Bearer Token and insert the token provided to you through Twitter by hard-coding it where you see {{bearer_token}} or by assigning the bearer_token variable in the Variables tab at the same collection level.