Skip to content

Instantly share code, notes, and snippets.

@hackervera
Created August 26, 2010 21:03
Show Gist options
  • Save hackervera/552245 to your computer and use it in GitHub Desktop.
Save hackervera/552245 to your computer and use it in GitHub Desktop.
twttr.anywhere.config({ callbackURL: "http://5.7.0.88:5984/craigslist/_design/craigslist/test.html" });
twttr.anywhere(function (T) {
T.currentUser.homeTimeline(function(tweets){
console.log(tweets);
tweets = tweets.array.reverse();
$.each(tweets,function(){
console.log(this);
$("#twitter").prepend("@"+this.user.screenName+" "+this.text+" "+this.id+"<br>");
T.hovercards();
});
});
T("#twitter").connectButton();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment