MiniTwitter - the Widget JQuery which puts Twitter and your tweets on your Website or your WordPress blog
This plugin designed by Web Designer displays tweets on your website, you can donwload the plugin Jquery and Wordpress below. Check out the examples first:
Here is the code to post the last 5 tweets of Lady Gaga on your website:
$('.content_tweets').miniTwitter('ladygaga');
Here is the code to show the last 3 tweets of Justin Bieber on your website (I know, it is already too much :D):
$('.content_tweets').miniTwitter({username: 'justinbieber', limit: 3});
Here is the code to follow the list "Team" of the Twitter account on your website:
$('.content_tweets').miniTwitter({username: 'twitter', list:'team'});
Here is the code to put the last 6 tweets of Rihanna, Britney Spears, Katy Perry and Justin Timberlake all together (without using lists):
$('.content_tweets4').miniTwitter({username: ['katyperry', 'rihanna', 'jtimberlake', 'britneyspears'], limit: 6});
Features
- Put Twitter on your website and even more: the tweets from the folks you like, the lists and yourself.
- Show up to 100 tweets within 7 days (limit set by Twitter's Search API).
- Use the color of your link profile on Twitter.
- Display tweets from your feed or from the Twitter Search.
- Display tweets from a list or from your favorite users.
- Stylize your feed with your Cascading Style Sheet or with other jquery plugins.
- Compatible with the last jquery version: 1.7.
Usage (Only for the Jquery plugin)
1. Download JQuery or use Google's AJAX Libraries API.
2. Include the JQuery library, jquery.minitwitter.js and the styling sheet: jquery.minitwitter.css in the head of your html file. You can modify the .css file as you like.
<script language="javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script language="javascript" src="/minitwitter/jquery.minitwitter.js" type="text/javascript"></script>
<link href="jquery.tweet.css" media="all" rel="stylesheet" type="text/css"/>
3. In the <body> tag, include this small piece of code where you want to place the plugin and don't forget to change the username (in red) without the @.
<div class="tweets"> <div class="tweets_header">Mini <a href="http://minitwitter.webdevdesigner.com">Tweets</a></div> <div class="content_tweets"> </div> <div class="tweets_footer"> <a href="http://consumimus.fr"><span id="bird"></span></a> </div> </div>Notice: If all your javascript is called in the end of your page just before </body>, just cut and paste:
<script type='text/javascript'>
jQuery(".content_tweets").miniTwitter("YOUR_USERNAME");
</script>
<script type='text/javascript'>in the end just before the </body>
jQuery(".content_tweets").miniTwitter("YOUR_USERNAME");
</script>
You are all set! Enjoy!
Download
ZIP - TAR.gz
Wordpress plugin
Download the Wordpress plugin, unzip it and put it in the directory wp-content/plugins/ of your website, no need to follow the steps above:
Wordpress ZIP
You can add the shortcode [minitwitter username="YOUR_USERNAME"] on your posts or pages or use it like a widget.
You can limit the number of tweets displayed [minitwitter username="webdevdesigner" limit=7]: here it will show the last 7 tweets of the user @webdevdesigner
It is possible to add a list of users to show [minitwitter username="twitter" list="team"]: it will show the tweets of the list "team" of the "twitter" user.
you can show the tweets of a query [minitwitter query="#awesome"]: it will show the tweets from the query #awesome...
You can find the plugin on WordPress.
Donate
They donated (top 3):
Les avis de consommateurs analysés par Consumimus
So Drunk: Share your crazy / funny drunk stories
Best selling products
GitHub
You can report bugs, support and request features in Github Issues
Licensed under the MIT
http://www.opensource.org/licenses/mit-license.php
Thanks to the awesome plugin Tweet! that inspired me. I used functions from the source code to make miniTwitter.
Copyright © 2012 Mini Twitter
