sphero-twitter v0.2.0
sphero-twitter 
Control your smart Robots with twitter.
Installation
$ npm install ollie-twitterYou need to get your Twitter API keys. (Guide to get them)
After you get all the 4 keys, copy-n-paste them in twitter.credit file (create it if it doesn't exist) in JSON like this:
{
"conKey": "",
"conSec": "",
"accKey": "",
"accSec": ""
}If you are controlling an Ollie or a BB-8, and if you want to use without sudo, then follow this link.
You can change which hashtag sphero is listening by passing ´´´.start(str)´´´ method of sphero-twitter a different hashtag in app.js file.
Usage
$ node app.js##Syntax
The language I used in parsing tweets is tiLang, look at there for syntax.
####Built-in Functions
You can use every function defined here, here and here.
In addition to them there are shortcut functions for most-used functions (Twitter 140 char limit) and some helper functions.
######Helper Functions
connect|UUIDConnects to Ollie/Sphero/BB-8. If already connected, does nothing.delay|secondsWaits before running next command.
######Shortcuts
cnct|UUID=>connect|UUIDdly|seconds=>delay|secondsc|red=>color|redr|255|0=>roll|255|0sp|lt|255=> (Spin, Doesn't exist, this is a helper forsetRawMotors)rwM|lmode|rmode|lpower|rpower=/=>setRawMotors|{lmode:lmode,rmode:rmode,lpower:lpower,rpower:rpower}(Objects cannot be parsed yet remember?)bL|255=>setBackLed|255stp=>stop
License
GPL © omeryagmurlu