Skip to content

Instantly share code, notes, and snippets.

@jakepruitt
Forked from gergelyke/server.js
Last active August 29, 2015 14:11
Show Gist options
  • Select an option

  • Save jakepruitt/9eea70a124e045756452 to your computer and use it in GitHub Desktop.

Select an option

Save jakepruitt/9eea70a124e045756452 to your computer and use it in GitHub Desktop.
var fetch = function (username, next) {
// get tweets from the twitter API
next(null, tweets);
};
server.method({
name: 'twitter.fetch',
method: fetch
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment