Setting up an authorization to X Public Basic OAuth2#

This guide explains how to authorize Adverity to collect data from X (formerly Twitter) using OAuth2 authentication.

Prerequisites#

Before you read this reference, perform all of the following actions:

  • Ensure you can log in to your X account.

  • Ensure your X account has the necessary permissions to authorize third-party applications.

  • Review the permissions that Adverity will request, which include:

    • Read access to posts and user profiles, including protected accounts you can view

    • Persistent connection that remains active until you revoke access

Setting up an authorization to X Public Basic OAuth2#

To set up an authorization to X Public Basic OAuth2, follow these steps:

  1. Go to the Authorizations page.

  2. In the top right corner of the page, click + Create Authorization.

  3. Search for and click X Public Basic (Twitter) OAuth2.

  4. Click Next.

  5. Click Setup a new Authorization.

  6. Click Next.

You will be redirected to the X OAuth authorization page.

Completing the OAuth2 authorization#

On the X authorization page, the OAuth2 flow will present you with an authorization request from Adverity. The page displays the application details and the specific permissions being requested for data collection.

To complete the authorization process:

  1. Review the requested permissions and application details.

  2. Click Authorize app to grant Adverity access to your X account.

As a result, X Public Basic OAuth2 is authorized in Adverity and you can continue setting up a datastream.