About The Recipes

Twitter is an online social networking service that enables you to send and read short messages called tweets. When you sign in to your Twitter account, you can read and post tweets.

The Twitter recipes use the REST Adapter and the Twitter Adapter to create an integration with a Twitter application. The recipes let you interact with Twitter including tweeting messages, finding followers and friends, and getting information about trends.

Field Description Parameters Required to Run the Recipe
Post a Tweet Posts a tweet on your Twitter instance. Provide the status parameter with the desired text to be posted in the tweet.
Retweet a Post Reposts or forwards a tweet that was previously posted on Twitter. Provide the ID parameter with the unique ID of the tweet to be retweeted.
Look Up Tweet Status Returns the details of up to 100 tweets per request, as specified by the comma-separated values passed to the ID parameter. This recipe is useful to get the details of a collection of tweet IDs. Provide the following parameters in the request message:
  • ID: Specify the tweet ID.
  • trim_user: When set to true (true/t/1), then it includes only the tweet author’s numeric ID. (Optional).
  • map: When used, tweets that don't exist or can't be viewed by the current user will still have their key represented but with an explicitly null value paired with it. (Optional).
Get Retweeted Messages Returns the most recent tweets authored by the authenticating user that have been retweeted by other users. Provide any value to the dummy parameter in the request message.
Get User IDs That Retweeted a Tweet Returns a collection of up to 100 user IDs belonging to users who have retweeted the tweet specified in the ID parameter. Provide the ID of the tweet for which you wish to retrieve the list of accounts that retweeted it.
Get Follower IDs Returns the details of each user who is following an account. Provide the user_id and the screen_name of the Twitter account in the request message. Note that the screen_name is the Twitter ID without the @ sign.
Get Friend IDs Returns the details of each user whom the current account is following (otherwise known as their "friends"). Provide the user_id and the screen_name of the Twitter account in the request message. Note that the screen_name is the Twitter ID without the @ sign.
Get Trends for a Location Returns the top 50 trending topics for the location specified by the Where On Earth Identifier (WOEID), if trending information is available for it. Provide the ID parameter with the WOEID in the request message.

For example, you can enter 2367105 to get the trending topics for Boston, 2459115 for New York, or 2442047 for Los Angeles. Also, you can use 1 to get global trending topics.

Get Locations with Trending Topics Returns the locations that Twitter has trending topic information for.

The response is an array of "locations" that encode the location's WOEID and some other human-readable information such as a canonical name and country the location belongs in.

No parameter is required in the request message to run this recipe.

System and Access Requirements

  • Oracle Integration, Version 23.2.0.0.0, or higher

  • Twitter
  • An account on Twitter with the Administrator role