Twitter (X) Query authentication guide
This is a step-by-step guide to acquiring credentials for authorizing the Twitter Query and Twitter Ads Query components for use in Matillion ETL.
- The Twitter Query and Twitter Ads Query connectors use OAuth for third-party authentication.
- While connector properties may differ between cloud data warehouses, the authentication process remains the same.
- Twitter (X) accounts need to apply for authorization to develop apps. If the associated account hasn't yet been authorized, be aware that the authorization process may take some time and is unfortunately outside of Matillion's control.
Note
Twitter is now known as X, and will be referred to as such in the following steps.
Prerequisites
- Begin by creating an OAuth entry in Matillion ETL, as described in Manage OAuth.
- Note the Callabck URL, as you will require this when obtaining the X credentials as described below.
- You should complete the configuration of this OAuth entry using the X credentials, obtained as described below.
Acquiring X credentials
To authenticate with X, you need to create an app in the X Developer Portal.
- Log in to the X Developer Portal. The Dashboard page will be displayed.
- Click Projects & Apps → Overview in the left-hand menu.
- Scroll down to the bottom of the Overview page and click + Create App.
- If this is the first time you are creating an app, the + Create App button will be situated at the top of the Overview page.
- There is a maximum quota of apps that can exist at any time. If you have already met your quota, you must delete an existing app before you can create a new one.
- Enter a suitable name for the app, then click Next.
- Select OAuth 1.0a as your user authentication method.
- Select Read and write from the App permissions section.
- Add a Callback URI/ Redirect URI, and paste the Callback URL copied from the Manage OAuth dialog in Matillion ETL.
- Enter
http://www.matillion.com
as the Website URL. -
Other app details (icon ,description, etc.) are optional and can be completed if desired.
Note
It's your responsibility to ensure you are in compliance with X's Developer terms when entering these details.
-
Click Save.
- Copy the Access Token and Secret values. These credentials are required to complete the Client ID and Client Secret properties of the OAuth in Matillion ETL. The Secret can never be viewed again after you leave this screen, so you must copy it immediately.