Skip to main content
In addition to author information also adds the location the tweet was send from (if available), and indicates whether a tweet was retweeted or favourited at least once. See below for a detailed list of the enrichment columns. ???+ info “API integration” To use this step you will need to create an app associated to your Twitter account, and obtain four items: the consumer_key, the consumer_secret, the token and the token_secret. To do so you can follow the steps here, and then add them to a Graphext integration.

Usage

The following example shows how the step can be used in a recipe.

Examples

This step doesn’t have any configuration parameters. Hence simply:

Inputs & Outputs

The following are the inputs expected by the step and the outputs it produces. These are generally columns (ds.first_name), datasets (ds or ds[["first_name", "last_name"]]) or models (referenced by name e.g. "churn-clf").
column[category|number]
required
Twitter’s unique identifier for each tweet.
column[date]
required
Time the user who tweeted this tweet was created.
column[text]
required
Self-description of the user.
column[number]
required
How many tweets the user has favorited.
column[number]
required
How many followers the user has.
column[number]
required
How many users the user is following.
column[number]
required
How many times the user has been listed in public listings.
column[url]
required
User’s picture.
column[boolean]
required
Whether this user has protected their tweets or not.
column[number]
required
How many times this user has tweeted.
column[url]
required
User’s profile url.
column[boolean]
required
Whether this user is verified or not.
column[category]
required
Location extracted from the author profile.
column[number]
required
Latitude this tweet was tweeted from.
column[number]
required
Longitude this tweet was tweeted from.
column[boolean]
required
Whether you have retweeted this tweet.
column[boolean]
required
Whether you have favorited this tweet.
column[category]
required
Where this tweet was tweeted from as a HTML string.

Configuration

The following parameters can be used to configure the behaviour of the step by including them in a json object as the last “input” to the step, i.e. step(..., {"param": "value", ...}) -> (output).

Parameters

string
required
ID of the integration you’d like to use.