seaofclouds / tweet

put twitter on your website with tweet, an unobtrusive javascript plugin for jquery
http://tweet.seaofclouds.com
MIT License
827 stars 217 forks source link

Older Tweets #144

Closed fizzgig closed 13 years ago

fizzgig commented 13 years ago

Hi,

Love the widget, but have a question. Is there somewhere I can request older tweets? It seems it only pulls tweets that are a couple of days old. Is it possible to get older tweets to display as well?

Thanks!

purcell commented 13 years ago

Does the page option do what you want? ie., set page: 2 in your options. I know somebody used it to add "< older" and "newer >" links to his customized jquery.tweet.js widget.

-Steve

fizzgig commented 13 years ago

I don't want to use pages. I have it set to display 10 tweets from various tweeters. But if they haven't tweeted anything in a few days nothing shows up. I would just like it to pull from further in the past to make sure it is never blank. Does that make sense?

purcell commented 13 years ago

Aha, well that's a different issue. I guess you have:

username: ["user1", "user2", ...]

and that means tweet.js must use the twitter search API. That API often returns stale results, and doesn't return old tweets.

Instead, try creating a list on twitter which follows those users, then configure tweet.js to display the list.

There's sample code on the examples page.

-Steve

fizzgig commented 13 years ago

that works! thanks a bunch!