librelist archives

« back to archive

Displaying Tweets in Nesta

Displaying Tweets in Nesta

From:
Brett Chalupa
Date:
2012-07-19 @ 03:30
I wrote a blog post about how I easily displayed my most recent tweets 
with Nesta and the Twitter Ruby gem.  

http://brettchalupa.com/updates/displaying-tweets-with-ruby

Hope some people find it useful!

Cheers, 

Brett Chalupa

@brettchalupa (http://twitter.com/brettchalupa)
(908) 652-1140
brettchalupa@gmail.com (mailto:brettchalupa@gmail.com)
http://brettchalupa.com

Re: [nesta] Displaying Tweets in Nesta

From:
Graham Ashton
Date:
2012-07-19 @ 17:27
On 19 Jul 2012, at 04:30, Brett Chalupa wrote:

> I wrote a blog post about how I easily displayed my most recent tweets 
with Nesta and the Twitter Ruby gem. 
> 
> http://brettchalupa.com/updates/displaying-tweets-with-ruby

Hi Brett. Nicely done.

I've been using the Twitter profile widget (JavaScript) recently:

https://twitter.com/about/resources/widgets/widget_profile

The benefit of using their widget is that your web server doesn't have to 
wait to download your recent tweets from Twitter's site while it's in the 
middle of serving your visitor's request.

You could reduce the impact of the pause with your technique though if you
introduced some caching.

The benefit of serving the tweets in the page (as you have done) is 
obviously that it doesn't depend on JavaScript, but I'd look into caching 
it if I were you.

Cheers,
Graham

-- 
Graham Ashton
Founder, The Agile Planner
http://theagileplanner.com | @agileplanner | @grahamashton

Re: [nesta] Displaying Tweets in Nesta

From:
Brett Chalupa
Date:
2012-07-19 @ 17:29
That makes a lot of sense, and I think setting up caching would be pretty 
simple and fun.

Going to look into it, update the post, and will share how I do it when I do it.

Thanks a bunch for the feedback, I appreciate it! 

Brett Chalupa

@brettchalupa (http://twitter.com/brettchalupa)
(908) 652-1140
brettchalupa@gmail.com (mailto:brettchalupa@gmail.com)
http://brettchalupa.com


On Thursday, July 19, 2012 at 1:27 PM, Graham Ashton wrote:

> On 19 Jul 2012, at 04:30, Brett Chalupa wrote:
> 
> > I wrote a blog post about how I easily displayed my most recent tweets
with Nesta and the Twitter Ruby gem. 
> > 
> > http://brettchalupa.com/updates/displaying-tweets-with-ruby
> 
> Hi Brett. Nicely done.
> 
> I've been using the Twitter profile widget (JavaScript) recently:
> 
> https://twitter.com/about/resources/widgets/widget_profile
> 
> The benefit of using their widget is that your web server doesn't have 
to wait to download your recent tweets from Twitter's site while it's in 
the middle of serving your visitor's request.
> 
> You could reduce the impact of the pause with your technique though if 
you introduced some caching.
> 
> The benefit of serving the tweets in the page (as you have done) is 
obviously that it doesn't depend on JavaScript, but I'd look into caching 
it if I were you.
> 
> Cheers,
> Graham
> 
> -- 
> Graham Ashton
> Founder, The Agile Planner
> http://theagileplanner.com | @agileplanner | @grahamashton
> 
>