Categories

Versions

You are viewing the RapidMiner Studio documentation for version 9.4 - Check here for latest version

Get Twitter User Details (Social Media)

Synopsis

This operator shows properties of a specific user.

Description

With the Get Twitter User Details operator, you can specify a Twitter user and receive a list of properties of the user.

Select a Twitter connection to specify the Twitter account for the Twitter API access. Specify the user name or the user ID to get information about the user.

Note that the standard Twitter API has strict rate limits! Please consult the Twitter documentation on how to avoid hitting these rate limits.

Input

  • connection (Connection)

    This input port expects a Connection object if any. See the parameter connection entry for more information.

Output

  • output (IOObject)

    An example set consisting of data from the Twitter API. This comprises the users ID, name, screen name, description, URL, creation date, verification and protection info, the number of followers and friends, the number of tweets, the language, the profile image, and the time zone.

  • connection (Connection)

    This output port delivers the Connection object from the input port. If the input port is not connected the port delivers nothing.

Parameters

  • connection_source This parameter indicates how the connection should be specified. It gives you two options: repository and predefined. The parameter is not visible if the connection input port is connected. Range: selection
  • connection_entry This parameter is only available when the connection source parameter is set to repository. This parameter is used to specify a repository location that represents a connection entry. The connection can also be provided using the connection input port. Range: string
  • connection This parameter is only available when the connection source parameter is set to predefined. The connection details for the Twitter connection can be specified here. If you have already configured a Twitter connection, you can select it from the drop-down list. If you have not configured a Twitter connection yet, select the icon to the right of the drop-down list. Create a new Twitter connection in the Manage Connections box. Range: configurable
  • query_type Specifies whether a user should be searched by id or screen name. Range: selection
  • id The id of the user. Range: long
  • user The screen name of the user. Range: string