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 info - Name of user
  • count: Integer info - Number of tweets to retrieve

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

Twitter.favoritesCount(screenName: String)

Get the number of favorites someone has on Twitter

Arguments:

  • screenName: String info - Name of user

Returns: Integer info - Number of favorites user has

Twitter.followers(screenName: String)

Get the number of users following someone on Twitter

Arguments:

  • screenName: String info - Name of user

Returns: Integer info - Number of followers user has

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

Get tweets from a user

Arguments:

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

Returns: List info - Tweets from user

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

Searches the most recent tweets

Arguments:

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

Returns: List info - Most recent tweets matching keyword

Twitter.tweets(screenName: String)

Get the number of tweets someone has made on Twitter

Arguments:

  • screenName: String info - Name of user

Returns: Integer info - Number of tweets user has

Twitter.tweetsPerDay(screenName: String)

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

Arguments:

  • screenName: String info - Name of user

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