This seems like it should be a slam dunk but I'm sure how to get it done.

I want to pull in the most recent tweets (perhaps 10) from a single twitter account. Then I would like them to cycle using some jQuery transition.

I'm looking at twitter block but I don't see how I can cycle the tweets...

I found this list of twitter related modules none seem to do what I want exactly...
http://groups.drupal.org/node/209343 Many of these either are in Beta for D7 or not compatible.

thx for any suggestions.

Comments

steeph’s picture

If you only want to display the tweets you could just use the original twitter widget: https://twitter.com/about/resources/widgets

If you want to import the tweets there are several ways: https://drupal.org/project/twitter, https://drupal.org/project/twitter_pull, https://drupal.org/project/feeds, https://drupal.org/project/feed_import or others.

To display them circling there are as well several ways. I'd probably use https://drupal.org/project/views_slideshow

nvisioncurtis’s picture

Do I need to import tweets from twitter in order to cycle them with views_slideshow? I really just want to cycle the latest 3-5 tweets...

I did read somewhere that there can be a problem with making too many Twitter request...

I will check out the widget mentioned. Thanks..

steeph’s picture

If you just want to display them, the Twitter widged might be enough. Views Slideshow can only display content that can be displayed by a view. So yes, usually you have to import it to Drupal first.

You can make 350 API requests per hour. If your app makes more, it will be blocked for some time (first one hour, if it doesn't stop it will be blocked for a longer time ...). So that's usually no problem if you only want to display one feed.

There was one module that can cirlcle tweets (from a search or from one account). But it has an unfixed security issue: https://drupal.org/project/juitter
Maybe there is a replacement I don't know of.

nvisioncurtis’s picture

The twitter widget would be perfect if I could control its appearance more, but those control are really limited.

The Twitter Block works rather oddly in the way it selects . could be me... and can't cycle.

I guess I'm onto the twitter module ...

steeph’s picture

The Twitter module is more of a complete suite that let's your users manage their Twitter and can post updates to Twitter. It can also import a sitewide Twitter feed and display it.

...And here I wrote how to use the RSS aggregator to import a Twitter feed, but appearantly Twitter doesn't provide RSS feeds anymore. So the Twitter module might be indeed the best choice.

nvisioncurtis’s picture

Found my solution, after looking at many modules and approaches.

TwitterDB module does exactly what I wanted to do -> Pull in tweets from a twitter account no credentials needed, assign to a block that I can style and has option to make it a jQuery show.

It requires two other modules that just need to be enable... simple!

Other modules and approaches that I tried but did not work for me

The Twitter Block Module appeared to be what I was after but It wasn't pulling in tweets correctly for me... Go figure - perhaps this is related to the Twitter/RSS feed issue mention above???? I found no other mention of anyone else having this issue TwitterDb does the same thing only better...

Twitter Module. Sounds like a powerful tool but I could not figure out how to set it up. :(
I guess with some more reading and searching I could figure it out - but the existing tutorials I found are all out of date.

Aggregator twitter feed method - just wouldn't work. I went down this rabbit hole and spent a lot of time learning about Aggegator - not a waste of time at all but I spent a lot time looking at this and it just wouldn't work... probably for the reasons mentioned above.

Twitter API cut and past code, Works fine but you can't style the feed...

Hope this helps someone out there save some time.