Twitter

The Twitter Service provides access to posts and profile information from Twitter. For more information, check out https://twitter.com.

Terms of use: https://twitter.com/en/tos

RPCS

Twitter.favorites(screenName: String, count: Integer)

Get the most recent tweets that a user has favorited

Arguments:

  • screenName: String (String) - Name of user
  • count: Integer (Integer) - Number of tweets to retrieve

Returns: List (List) - Most recent tweets that a user has favorited

Twitter.favoritesCount(screenName: String)

Get the number of favorites someone has on Twitter

Arguments:

  • screenName: String (String) - Name of user

Returns: Integer (Integer) - Number of favorites user has

Twitter.followers(screenName: String)

Get the number of users following someone on Twitter

Arguments:

  • screenName: String (String) - Name of user

Returns: Integer (Integer) - Number of followers user has

Twitter.recentTweets(screenName: String, count: Integer)

Get tweets from a user

Arguments:

  • screenName: String (String) - Name of user
  • count: Integer (Integer) - Number of tweets to retrieve

Returns: List (List) - Tweets from user

Twitter.search(keyword: String, count: Integer)

Searches the most recent tweets

Arguments:

  • keyword: String (String) - Keyword to search for
  • count: Integer (Integer) - Number of tweets to retrieve

Returns: List (List) - Most recent tweets matching keyword

Twitter.tweets(screenName: String)

Get the number of tweets someone has made on Twitter

Arguments:

  • screenName: String (String) - Name of user

Returns: Integer (Integer) - Number of tweets user has

Twitter.tweetsPerDay(screenName: String)

Get how many tweets per day the user averages (most recent 200)

Arguments:

  • screenName: String (String) - Name of user

Returns: Number (Number) - How many tweets per day the user averages