Twitter REST API

This connector is a powerful tool to perform searches on Twitter. You can create searches using Twitter REST API calls

Twitter has updated their API developer accounts.

If you are using a version of Datamer before 7.1.9 or 7.2.4, you will need to upgrade maintenance patches or upgrade to Datameer 7.4.

In order to use Datameer's Twitter connector, it is required that you have:

  • a Twitter account
  • Twitter developer access
  • a Twitter developer app for use with Datameer

Configuring the Twitter Plug-in

To create a connection to Twitter, you must first configure the Twitter plug-in as an administrator.

  1. Click on the Admin tab and select Plug-ins from the menu on the left.
  2. Find the Twitter Plug-in and click on the gear icon to open the configuration options.
  3. Copy the Twitter Callback URL.
  4. Log into your Twitter developer account profile and find the app you created associated with Datameer.
  5. Open the Twitter app and enter/paste the Callback URL.
  6. In your Twitter developer app, click on the Keys and Tokens tab. Copy your API key and API key secret.
  7. In the Datameer Twitter plug-in configuration, enter your API key and API key secret.
  8. Click Save.

After editing the Twitter plug-in, if you have a current Twitter connector, a new Token needs to be established before it is functional again.

Configuring Twitter REST API as a Connection

  1. Click the + (plus) button and select Connection or right-click in the browser and select Create new > Connection.          
  2. Choose Twitter Rest API from the drop-down list.
  3. To connect to your Twitter Rest API account, click Authorize Datameer to receive data. You are taken to a Google portal to generate an OAuth access token for Datameer. The OAuth code is automatically transferred to the appropriate field.
  4. If required, add a description and click Save.

Importing Data with the Twitter REST API Connector 

  1. Click the + (plus) button and select Import Job or right-click in the browser and select Create new > Import Job.     
  2. Click  Select Connector,  choose the Twitter Rest API connector, and click  Next .
  3. Enter a Twitter Rest API Call and click N ext.
     
  4. Review the defined fields and click Next.
  5. Review the schedule and advanced properties for the job and click Next.
  6. Create a description for the import job and click Save.