This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('selector').twitter('search terms'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('selector').twitter({ | |
from : 'BoazSender', // From this person | |
replies : false, // Include @replies? | |
ands : 'jquery bocoup', // All of these words | |
ors : 'gangster javascript', // Any of these words | |
nots : 'dirty words', // None of these words | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.twitter({from: 'BoazSender', replies : false}, function(tweets){ | |
console.log(tweets); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Default all twitter lists to exclude @replies and dirty words | |
$.twitter.options.replies = false; | |
// Set a whole bunch of defaults at once | |
$.extend($.twitter.options, { | |
replies : false, | |
retweets : false, | |
limit : 20, | |
nots : 'dirty words' | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style type="text/css"> | |
.twitter-posts li {margin-bottom: 10px; font-size: 12px; clear: both; list-style-type:none;} | |
.twitter-posts li img {float:left; width: 48px; margin:0px 10px 10px 0px;border:1px solid #c2c2c2; -moz-box-shadow: 0px 0px 4px #c2c2c2; -webkit-box-shadow: 0px 0px 4px #c2c2c2; box-shadow: 0px 0px 4px #c2c2c2;} | |
.twitter-posts li a {text-decoration:none; color: #009;} | |
hr.space {clear:both; width: 100%; visibility:hidden;} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment