@runnerty/executor-twitter

2.0.0 • Public • Published

Twitter executor for Runnerty:

Methods:

  • Configuration sample:
{
  "id": "twitter_default",
  "type": "@runnerty-executor-twitter",
  "consumerKey":"123abc",
  "consumerSecret":"123abc" ,
  "accessToken":"123abc",
  "accessTokenSecret":"123abc"
}
  • Plan sample to update our twitter status:
{
  "id":"twitter_default",
  "command":"update",
  "status": "Hello I'm #runnerty #twitter #bot"
}
  • Plan sample to search a hashtag:
{
  "id":"twitter_default",
  "command":"search",
  "query": "#runnerty"
}
  • Plan sample to get an user's followers:
{
  "id":"twitter_default",
  "command":"followers",
  "screen_name": "@runnerty"
}
  • Plan sample to get an user's followers:
{
  "id":"twitter_default",
  "command":"retweet",
  "tweet_id": "12345678"
}
  • Plan sample to send a direct message:
{
  "id":"twitter_default",
  "command":"direct",
  "screen_name": "runnerty_io",
  "textToSend": "Hello Runnerty"
}

/@runnerty/executor-twitter/

    Package Sidebar

    Install

    npm i @runnerty/executor-twitter

    Weekly Downloads

    0

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    9.96 kB

    Total Files

    9

    Last publish

    Collaborators

    • coderty