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.

Twitter-Flock

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 workshop.rs 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.

Changelog

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

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



Comments [ 52 Comments ]

  1. Ryan
    July 2, 2010

    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.

  2. Akk
    August 9, 2010

    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!

  3. Greg
    August 14, 2010

    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…

  4. Greg
    August 14, 2010

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

  5. Greg
    August 14, 2010

    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…

  6. Greg
    August 14, 2010

    i found a cross browser bug. ie browsers cannot use the css style opacity. to make life easier i added a style to the twitter-flock-css.php sheet. it includes the standard opacity methods by applying a filter first. this means the script code around line 239 needs to be modified. i used the jquery addClass and removeClass methods. lastly you want to apply the class to the image and not the < a > tag… this not works great for me. i may do some more modifications. right now the plugin is setup for 2 accounts with tabs. i wanted to show 2 updates per TAB, and not account. so the ALL tab has 2 updates, but the other tabs only show 1 because they are filtered down from the ALL tab…

  7. Judy
    August 17, 2010

    I cannot get this, or any other multi-twitter feed wordpress plugin, to pull in tweets from more than one twitter account. I can get it to pull in more than one tweet from one account, but just that one. I have tried multiple accounts and it still doesn’t work. I am using WP 3.0.1. Is this not compatible, you think?

  8. Charlotte
    September 18, 2010

    I was wondering if there was any way to limit the tweets so replies aren’t shown?

    Great plugin btw

  9. Andrea Moro
    September 20, 2010

    Hi there,

    I was looking after a plugin which allow me to publish my two different twitter feeds according to some specific condition, therefore I’d like to know if I can choose which account to publish using a variable or something like that to be put into the code with an if statement.

    Is this possible?

    Thanks.

  10. Joshua Bartos
    October 9, 2010

    this is super duper buggy!

  11. Tania Grønvald
    February 23, 2011

    I’m receiving this errror.

    Warning: fwrite(): supplied argument is not a valid stream resource in

    Does anybody know what is wrong?

    The url is http://www.weloveplanning.com

    Any help would be very much appreciated. I had the same problem with Twitter Blend.

    Best

    Tania

  12. Ryan
    February 25, 2011

    Loving the plugin! Wondering the best way to tweak font, font sizes, size of user’s photo?

  13. Lazarevic Ivan
    March 16, 2011

    @Ryan
    You should try with CSS, each element have different class

  14. MackSumo
    March 22, 2011

    Hey, love the plugin. Although sometimes it doesn’t refresh with new tweets for days on end. (even when i refresh the page)Is it because i’ve added too many usernames to it or what? If so, can you tell me the maximum amount of usernames is suggested to add without causing the problem?

  15. bungkelip
    April 5, 2011

    I Found this:

    “Warning: fopen(/home/vip022/public_html/wp-content/plugins/twitter-flock/cache/cache.ch) [function.fopen]: failed to open stream: Permission denied in /home/vip022/public_html/wp-content/plugins/twitter-flock/twitter-flock-content.php on line 175

    Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/vip022/public_html/wp-content/plugins/twitter-flock/twitter-flock-content.php on line 176

    Warning: fclose() expects parameter 1 to be resource, boolean given in /home/vip022/public_html/wp-content/plugins/twitter-flock/twitter-flock-content.php on line 177″:

    What can I do??

  16. SJWPM
    April 8, 2011

    Hey Ivan,
    I have installed your plugin and it’s quite cool. Congrats on that. Everything works like a charm however I am trying to see if we can open the twitter a/c’s and http links in a new window so that the user stay put in our website. Please share the possibilities and your thoughts.

    Regards,
    SJWPM Team

  17. Elayne
    April 18, 2011

    Hi Ivan!

    Awesome app! Really helped my website. Thank you so much for making it open to the public. May I ask for your help tho? is it possible to just display the first name of the twitter screenname?

  18. Oscar
    June 3, 2011

    The [lugin is great, but, I have two comments for you.

    First I think there is an error in the line 340 of twitter-flock-content.php
    tf_cashes would be tf_hashes!

    and the second is, when I put hashes in the option, the plugin doesn;t work

    Thank you

    moscar

  19. Rob
    June 22, 2011

    so i just found this plugin, decided to try it, and i get a twitter logo with my tweets being like 600px down at the bottom of my page? (no tabs whatsoever)

    i tried changing all the options, and looked at the script… everything seems fine? (check my site, i’ll leave it up)

  20. Lazarevic Ivan
    June 23, 2011

    It seems that it’s CSS issue, I’ve just add float: left for #twitter-flock-body and your tweets are visible.


Leave a Reply



Trackbacks and pingbacks
click to expand