Twitter Flock for WordPress: multiple accounts tweets with style

Twitter Flock is WordPress plugin for showing multiple accounts tweets with different color scheme for every account. Also, there are setting allowing you to control how your tweets will look like and will they cache or not.


One of the things that make this plugin different form other are tabs above Twitter Flock box. This tab shows accounts avatars so visitors can click on them and see only tweets from that account. From 1.1 version Twitter Flock have sidebar widget.

With Twitter Flock you can:

– show tweets from multiple accounts or only one account,
– cache tweets for faster page load,
– set different color scheme for every user,
– show only tweets with defined hash tag,
– link url inside of tweets,
– display tab with accounts avatars so visitors can select which account tweets wants to see,
– easy implement as sidebar widget,
– custom header title

You should follow those steps in order to install Twitter Flock on you WordPress:

1. Upload `twitter-flock` directory to the `/wp-content/plugins/` directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress
3. Add this <?php include (ABSPATH . ‘/wp-content/plugins/twitter-flock/twitter-flock.php’); ?> in header of your template
4. Put <?php TwitterFlock(); ?> in your template on place where you want Twitter Flock to show tweets or
5. Drag widget on your sidebar
6. Set options on admin panel

Twitter Flock, beside standard options, have and some not-so-standard features.

My favorite feature and main reason why I made this plugin is possibility to show only tweets with chosen hash tag and remove that hash tag from tweets. So, now on I can show only those tweets that I select with #ws hash tag and I will not bother you with rest of my tweets.

Another cool feature is tab bar above Twitter Flock box so your visitor can choose only tweets from selected account. Also, you can choose different colors for background and text for every user separately.


* Header title
* Option for exclude jQuery in case of conflict

* Sidebar widget
* No need for inlude line in header
* Fixes problem with new avatar appereance

  • Fancy Transitions Featured Gallery for WordPress (62)
    ftFeatured is Wordpress plugin for creating image gallery with fancy transition effects of featured posts. You can choose between three types of transition effects: curtain, wave and […]
  • Google Buzz ER: Google Buzz for Wordpress (133)
    Yesterday Google announced new service, Google Buzz, a new way to share updates, photos, videos and more, and start conversations about the things you find interesting. Today you can have […]
  • Gradienter: Add gradient to elements (22)
    Last night I started to work on Wordpress theme for blog and I got an idea that every post should have their own background color and that maybe those colors can be in gradient. Since that […]
  • Coin Slider 4 WordPress (238)
    Coin Slider 4 WP will show your featured posts as image slider and rotate them using unique effects provided by jQuery's Coin Slider. Implementation is very easy, after you download […]
  • mooBarGraph: AJAX graph for MooTools (17)
    mooBarGraph is AJAX graph plugin for MooTools which support two types of graphs, simple bar and stacked bar graph. This plugin made graph from your JSON data and is compatible with all […]

67 comments on "Twitter Flock for WordPress: multiple accounts tweets with style"

ok… sorry to post again on your thread… i found what went wrong for me. basically, my twitter accounts were created using camel case. so the loop that generates the tab links was using the variable $val that is all undercase. for my case, I created a new variable $lVal and used strotolower(). however, i think i could have just changed the accounts to be lowercase in your app’s settings…

Greg on August 14, 2010 at 11:52 am

also, i noticed in twitter-flock-content there is some versioning code around line 238.

Greg on August 14, 2010 at 11:35 am

Hey, this plugin works well except that i’m trying to get the tab images to show up for the 2 accounts I added. Only the ALL image is showing. However, when I add the option to show images with all posts the correct images show next to each post, still though, not in the tabs…

Greg on August 14, 2010 at 11:32 am

Hi there.

I’ve been playing with your plugin, and here’s the question:

Is there anyway of making it to autorefresh the Twitter API so it gets new tweets without reloading the entire page?

I’ve tried with some AJAX onto a div, but doesn’t seems to work with this plugin php code.

Maybe on a future version? Thanks!

Akk on August 9, 2010 at 5:20 am

Great plugin! I was using Tweet Blender, but it was way to temperamental, especially with all the Twitter API issues. I use it in a sidebar, but I’d like to recommend a feature. Tweet Blender had an archive of tweets that you could place anywhere with a bit of shortcode. Your plugin with multiple accounts fills up the sidebar quickly, but an archive would alleviate the need to have a really long list of tweets.

Ryan on July 2, 2010 at 10:59 pm

Can you give me url with example ?

Lazarevic Ivan on May 26, 2010 at 8:18 pm

Warning: date() expects parameter 2 to be long, string given in /home/mmataa/public_html/wp-content/plugins/twitter-flock/twitter-flock-content.php on line 271

The error returned. Twitter Flock was working fine for 24 hours – All I did to cause the error minutes ago was post two tweets within 3 minutes (or so). Please help? PLEASE???

Phil Guadalupe on May 26, 2010 at 5:47 pm

Ok – it’s back in my widgets area, but I still cannot resolve the problem (thought I could reload and it would resolve). I’m really not a techie, so I need the widget to work like it did intitally. Please help (thanks) – below is the error:
Warning: date() expects parameter 2 to be long, string given in /home/mmataa/public_html/wp-content/plugins/twitter-flock/twitter-flock-content.php on line 271

Phil Guadalupe on May 25, 2010 at 12:47 am

Hey – I was totally loving your Twitter Flock. Then, I increased people I follow by like 40 or so… then TF returned an error on the face of my page and didn’t display the thumbnails. I tried dragging the widget off and on, then i deleted and reload it.

Problem is that I can’t get the widget to reappear so that I can drag it back on to my site in WordPress Admin area. Can you please help? Thank you so much – cause your plugin was badass until i screwed it up (Is there a limit on people I can follow via Twitter?).


Phil Guadalupe on May 25, 2010 at 12:43 am

I’m getting these errors…

Warning: fwrite(): supplied argument is not a valid stream resource in /home/internet/public_html/wp-content/plugins/twitter-flock/twitter-flock-content.php on line 176
Warning: fclose(): supplied argument is not a valid stream resource in /home/internet/public_html/wp-content/plugins/twitter-flock/twitter-flock-content.php on line 177

Any ideas?

Si on May 24, 2010 at 1:36 pm

Arne, weird bug : ) Try to put next line in css file:
#twitter-flock-body { float: left; }

Lazarevic Ivan on April 26, 2010 at 3:14 pm

Hi, I just installed your twitter flock plugin and am using it through the sidebar. For some reason it leaves about 3 feet of empty space between the title and the tweets. How can I solve this?

Arne on April 26, 2010 at 1:56 pm

Version 1.2 of Twitter Flock is now available for download. New options are:
* Custom header title
* Option for exclude jQuery in case of conflict

Lazarevic Ivan on March 29, 2010 at 12:50 pm

Yuri it’s not possible, you must set username.

Lazarevic Ivan on March 23, 2010 at 7:42 am

Is it possible to set only hashtags in config without setting user names? I tried and get empty list 🙁

Yuri on March 13, 2010 at 5:52 pm

Hi Willo,

It seems that you have some blogger.js from some other widget that slows loading of you page.
Sorry for late response : )

Lazarevic Ivan on March 11, 2010 at 5:55 am

Hi Ivan

I implemented this on my friend’s site – – but it’s loading REALLY slow (even with cache turned on)… and slows down the load time of the entire sidebar. Any idea how I can speed it up?

Thanks in advance,
~ Willo

willo on March 6, 2010 at 1:08 pm

No, there is no option for that, but it’s a good point.

Lazarevic Ivan on March 5, 2010 at 3:06 pm

For instance, on sidebars, you can title your widgets (e.g., Latest Posts, Categories, Links, Blogrolls, etc.). Is that not a function for Twitter Flock?

Kelli Marshall on March 5, 2010 at 9:09 am

Good point, I’ll include that option.

@Kelli Marshall
I’m not sure that I completely understood your question, but I think that you should check “Show Tabs” option on Twitter Flock options page.

Lazarevic Ivan on March 3, 2010 at 3:25 pm

How do I create a header/title above the Twitter Flock posts? See footer on

Kelli Marshall on March 3, 2010 at 1:06 pm

Can you add an option to not include jQuery to the plugin? I am including my own copy of jQuery for other parts of the page and the TwitterFlock jQuery include is conflicting with it and preventing subsequent javascript from running. I’ve modified the TwitterFlock code in the meantime but obviously if I ever upgrade the plugin I’ll have to keep doing it. Thanks!

Michael DiSanto on February 22, 2010 at 12:18 am

Hi Dustin,
I’m not sure why are you getting those errors and how some of them are related with Twitter Flock. Give me some time to check and please tell me which version of Google Buzz Er works for you ?

Lazarevic Ivan on February 12, 2010 at 12:50 pm

Hello, Just dropping another line.. In case you miss my question. I’m getting these errors..

Google Buzz Er is working for me now.. But, I’m still having the same header issues with Twitter Flock.. I’ll hang tight until there’s an update.


Buzz Er looks great!

Dustin Goerndt on February 12, 2010 at 12:39 pm

Hey there, I’m taking a crack at your new plugins. They look great! I place this php in my header

But, I’m getting these errors.

Can you help me out?

Thanks, Dustin

Dustin Goerndt on February 11, 2010 at 7:48 pm

Leave a Reply

Your email address will not be published. Required fields are marked *