Twitter is an online social networking service and microblogging service that enables its users to send and read text-based messages of up to 140 characters, known as "tweets"


API Overview

Twitter Credentials Required set with /rpc/oauth/twitter/auth

Any message this Channel receives will trigger a new Twitter Status Update

{
  "action": "twitter.status_update",
  "config": [
  ]
}
Parameter Data Type Description Default
status string New Timeline Contentnone
Parameter Data Type Description
id string Tweet ID

Returns a collection of the most recent Tweets posted by a user

{
  "action": "twitter.user_timeline",
  "config": {
    "screen_name": "value",
    "user_id": "value"
  }
}
Parameter Data Type Description Default
screen_name string Screen Namenone
user_id string User IDnone
Parameter Data Type Description
text string Tweet Text
retweeted boolean Was Retweeted
id string ID
tweet_url string Tweet Direct URL
created_at string Created Timestamp

Forwards the details of any Tweet where your username is mentioned

{
  "action": "twitter.user_mentions",
  "config": [
  ]
}
Parameter Data Type Description
text string Tweet Text
retweeted boolean Was Retweeted
id string ID
tweet_url string Tweet Direct URL
user_name string Mentioning User Name
created_at string Created Timestamp

Generates a user ID export for every user following you

{
  "action": "twitter.each_follower",
  "config": {
    "me_following": "yes"
  }
}
Parameter Data Type Description Default
me_following boolean Only get Users that I am also following1
Parameter Data Type Description
name string User Name
screen_name string User Screen Name
id_str string User ID (String)
profile_image_url string Profile Image URL
url string Profile URL
utc_offset string UTC Offset
description string Profile Description

Start Following a Twitter User

{
  "action": "twitter.follow_user",
  "config": {
    "enable_notifications": "yes"
  }
}
Parameter Data Type Description Default
enable_notifications boolean Enable notifications for the target user1
Parameter Data Type Description Default
screen_name string The screen name of the user for whom to befriend.none
user_id string The ID of the user for whom to befriend.none
Parameter Data Type Description
name string User Name
screen_name string User Screen Name
id_str string User ID (String)
profile_image_url string Profile Image URL
url string Profile URL
utc_offset string UTC Offset
description string Profile Description

Direct Message another Twitter user who you're following and is following you

{
  "action": "twitter.direct_message",
  "config": [
  ]
}
Parameter Data Type Description Default
message string Direct Message Contentnone
user_id string User IDnone
Parameter Data Type Description
id_str string Message ID
sender_id string Your User ID
sender_screen_name string Your Screen Name
text string The Message You Sent

comments powered by Disqus