Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

@runnerty/executor-twitter

1.0.1 • 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"
}

install

npm i @runnerty/executor-twitter

Downloadsweekly downloads

0

version

1.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability