Skip to content

Twitter client written in JavaScript packaged as a node module

Notifications You must be signed in to change notification settings

early-birds/TwitterJSClient

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

twitter-node-sdk aims to provide a complete, asynchronous client library for the Twitter API 1.1.

Usage

var Twitter = require('twitter-node-sdk');

var config = {
    consumerKey: '{consumerKey}',
    consumerSecret: '{consumerSecret}',
    accessToken: '{accessToken}',
    accessTokenSecret: '{accessTokenSecret}',
    callBackUrl: '{callBackUrl}'
};

var twitter = new Twitter(config);

twitter.getUserTimeline({ screen_name: 'BoyCook', count: '10'}, error, success);
twitter.getMentionsTimeline({ count: '10'}, error, success);
twitter.getHomeTimeline({ count: '10'}, error, success);
twitter.getReTweetsOfMe({ count: '10'}, error, success);
twitter.getTweet({ id: '1111111111'}, error, success);

About

Twitter client written in JavaScript packaged as a node module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%