Skip to content

Instantly share code, notes, and snippets.

@pkarl
Created October 25, 2011 14:41
Show Gist options
  • Select an option

  • Save pkarl/1312964 to your computer and use it in GitHub Desktop.

Select an option

Save pkarl/1312964 to your computer and use it in GitHub Desktop.
$.get('https://api.twitter.com/1/statuses/mentions.json?include_entities=true', {'since_id':'1234'}, function(data){
// parse that shit
// insert that shit
});
@sjl

sjl commented Oct 25, 2011

Copy link
Copy Markdown

How often do we poll? Does it insert that shit in order or just stick it at the top?

Needs to check for tweets that were already pulled down by the server, and also needs to add code to the current tweet-rendering stuff to check for duplicates as well.

What about when they refresh the page? Don't worry about old replies?

@pkarl

pkarl commented Oct 25, 2011 via email

Copy link
Copy Markdown
Author

@sjl

sjl commented Oct 25, 2011

Copy link
Copy Markdown

Sounds good -- go for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment