Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @runnerty/executor-twitter with all npm packages installed. Try it out:

var executorTwitter = require("@runnerty/executor-twitter")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@runnerty/executor-twitter v1.1.0

Runnerty module: twitter executor

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"
}
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free