- 3 Minutes to read
- DarkLight
Twitter Organic
- 3 Minutes to read
- DarkLight
Twitter Organic are non-paid, natural reach and engagement of tweets. It includes the interactions, retweets, likes, and mentions that happen without any promotion or advertising efforts, showcasing the genuine interest and response from the Twitter user base.
See all the available metrics that Twitter offers here, and all available endpoints from the Twitter API are listed here.
Authorize Your Twitter Account
In Twitter
In order to extract your organic Twitter data, you will need to
- Create your own developer app, and
- Have at least the Basic paid plan
On Twitter's developer portal, scroll down and click on Subscribe to Basic. For the setup, you can also choose the Sign up for Free Account option. But you will not be able to get any Tweets data unless you have one of the paid plans.
In the use case description box, type your reason for accessing Twitter's API, check all boxes and click on Submit. The reason can be for example:
I want to get insights about my Tweets' data via the API. I am not planning on using the data to create new content, and just wish to extract data such as number of comments, impressions, likes etc. I might be interested in getting data from my other accounts in the future as well, however, that is not planned for now.
Under Projects and Apps, select your app, scroll down and click on Set up your User authentication.
Configure your user authentication settings and click on Save.
- App permissions: Read is sufficient
- Type of App: choose Web App, Automated App or Bot
- App info:
- Callback URL/Redirect URL - you need to use the Dataddo redirect URL
https://app.dataddo.com/settings/service/twitter
- Website URL - this should be your website URL
https://example.com/
- Callback URL/Redirect URL - you need to use the Dataddo redirect URL
Copy your Client ID and Client Secret.
DATADDO TIPYou can access your Client ID again under the Keys and tokens tab on your Twitter app page, however, if you lose your Client Secret, you will have to regenerate a new one.
In Dataddo
- In the Authorizers tab, click on Authorize New Service and select the Twitter Custom connector.
- Paste in your Client ID and Client Secret and click on Save.
- You will get redirected to the Twitter login, where you just need to login with your usual Twitter credentials.
Create Twitter Organic Data Source
- On the Sources page, click on the Create Source button and select the connector from the list.
- Select your dataset and click on Next to continue.DATADDO TIP
If you are not sure which dataset you need but know the metrics and attributes, use the Search by Name or Attribute function.
- From the drop-down menu, choose your account.Didn't find your account?
Click on Add new Account at the bottom of the drop-down and follow the on-screen prompts. You can also go to the Authorizers tab and click on Add New Service.
- Name your data source and select your metrics and attributes. Please keep in mind that metrics and attributes depend on the selected dataset.
- Configure your snapshotting preferences. Choose your sync frequency or the exact synchronization time under Show advanced settings.DATADDO TIP
If you need to load historical data, please refer to the Data Backfilling article.
- Preview your data by clicking on the Test Data button in the top right corner. You can adjust the date range for a more specific time frame.
- Click on Save and congratulations, your new data source is ready!
Troubleshooting
Data Preview Unavailable
If there is no data preview after clicking on Test Data, there might be a problem with your source configuration. The most common causes are:
- Date range: Try a smaller date range. You can load the rest of your data afterward through our manual data load function.
- Insufficient permissions: Please make sure your authorized account has at least admin-level permissions.
- Invalid metrics, attributes, or breakdowns: You may not have any data for the selected metrics, attributes, or breakdowns.
- Incompatible combination of metrics, attributes, or breakdowns: The combination you have selected cannot be queried together. Please refer to the service's documentation to view a full list of metrics that can be included in the same source.