TweetJS.com

Display Tweets on your website using Javascript only.

Download TweetJS

Demo Code

Include a reference to TweetJS.js in your page, then use one of the following methods

TweetJs.ListTweetsOnUserTimeline takes two parameters, the username, and a callback function. It will return data on tweets posted by a given user.

TweetJs.ListTweetsOnUserTimeline("PetrucciMusic",
function (data) {
    console.log(data);
});
Demo

TweetJs.Search takes two parameters, the search query, and a callback function. It will return data on tweets that contain the search query.

TweetJs.Search("Music",
function (data) {
    console.log(data);
});
Demo