RSS

Launch Your Own Twitter Bot (PHP, Python, Ruby)

Tuesday, July 14th, 2009 | Hack, Mashup, Open Source, RSS, Tools, Twitter, code | 2 Comments

reddy-robot.jpg

If you use twitter you’ve undoubtably come across a twitter bot, sadly there’s a very good chance it was because it was spamming you. In this post I’ll provide you with all the tools, source code and know-how to be able to build and launch your own twitter bot, and i’ll even give you resources to do it in the programming language of your choice. Why? Because there are so many positive uses for a twitter bot….including anti-spam! Go take a look at the twitter tag project for some good examples of bots currents on twitter if you’re not able to come up with any on your own.

First, if you’d like to fool around with an automated bot on twitter but lack the technical knowhow, go pay a visit to the Botomatic site. There you can create your own bot using their easy-to-use GUI. It’ll take you two seconds and you will be up and running.

If you’re a beginner, have no fear there’s a pre-configured setup for you as well. Go download and install the Twitterbotscript from Tyler Colwell. It’s 100% free and was coded to include a helpful GUI to control the bot functionality. It’s actually a pretty cool package that uses the API. I’ve taken a lot of his code and re-used it in various test bots of my own so i’d definitely recommend anyone looking to script their own bot in PHP to download his app.

Now for the PHP programmers out there, the first example of a great PHP5 twitter bot framework is from the folks over at ohloh.net (Jason Allen and Scott Collison). This one is setup to allow you to search and retweet what you’ve found.

If you’d like to incorporate Jabber/XMPP into the bot (that way you can access it via gchat), then there’s a great tutorial over on jazzychad.com. Tenderapp.com has on their blog a PHP tutorial with full source-code for a twitter bot that will look up the traffic conditions and tweet them when messaged. This one also has a walk-through for getting it up on xmpp/jabber. Here’s the source for a similar bot that looks up the weather and retweets it on command.

If you’d like to setup a twitter bot using Python, Halotis.com has a great tutorial that uses a sqlite backend to keep track of what it’s messaged. For a more elaborate version of an automated bot using python, there’s a script over on the flowingdata.com blog that also incorporates a local mail server to send and receive messages to the bot.

Last but not least, all of you Ruby folks….here’s a Twitter Ruby Gem to go along with the Twitter4R and Twitter Ruby Gems already found in the library. The site also takes you through a few different commands available with this new gem. For complete source-code of a twitter bot written in Ruby, head on over to this snippet of a Ruby RSS Twitter Bot.

Easy as pie and now you’ve got your very own automated twitter bot!

Tags: , , ,

Top 15 Twitter Power User Tools

Tuesday, November 11th, 2008 | AIR, Beta, Hack, RSS, Tools, Twitter, Utilities, WebApps | 2 Comments

With the hundreds of Twitter applications, websites, bots and scripts out there designed to do just about everything under the sun for you and your Twitter account, I decided to compile my own list of the top 15 Power User Twitter Tools that really provide the most value. Speaking of which, if you like this list or feel that something is missing from it, follow me on twitter – @brentter and let me know.

Qwitter

qwitter.jpg

This is my latest addiction. It’s a free service that sends you an email update whenever someone un-follows your twitter account. I don’t know why, but I figure they send you an email when someone starts to follow you, they might as well send one when they leave.

Tweetdeck

E4A2F690-BC99-4CF8-A034-1FC5D956CDC6.jpg

Pretty much this is Twitter for those of you with too many ‘groups’ or followers. It lets you break down your ‘tweets’ into separate feeds that you determine. These can be based on a specific topic, affiliation, location or any other attribute you manage to dream up. It’s also an Adobe Air desktop application that’s still in beta, so there are a few bugs from time-to-time.

Twitt(url)y

C5303853-4F84-4344-A8AB-E6CBFCA4414F.jpg

Here’s a service that tracks all the links posted on Twitter and ranks them based on the number of recent appearances. There are then many different filter options you can run on the list to narrow it down and even an export function to grab it as an RSS feed.

Twitterfeed

A6324A4E-1CA3-487E-963D-581424517947.jpg

Twitterfeed takes any RSS feed and posts it to your twitter account. Made specifically for auto-updating your twitter account every time you post a new entry on your blog, Twitterfeed can easily be used to post new entries from in just about any RSS feed (i.e. baseball scores from espn.com).

EasyTweets

0157D622-857A-46F0-A23C-82DE94131A12.jpg

Now here’s a unique new service that’s still in beta and aimed at those trying to utilize Twitter as a marketing tool. With EasyTweets you can manage multiple Twitter accounts, schedule future tweets (i.e. special announcements), post items from your RSS feed and more. It’s still pretty new but is shaping up to be a great utility for managing your brand identity on Twitter.

#Hashtags

hashtags.jpg

#Hashtags are a way to automatically add your tweet to a specific category, for instance lets say I wanted to create a single location for anyone to be able to add to and see what’s being said about NYE09 on Twitter. I would just go and create the hashtag #NYE09 and anytime that a tweet contained #NYE09, it would automatically be added to the hashtag.org website. The beauty of this service is each hashtag has its own RSS feed and usage statistics. To start using hashtags all you have to do is follow @hashtags and anything with a # in front of it will be added to that specific group.

TwitterKeys

twittericons.jpg

These aren’t really a ‘must use’ but they are pretty neat. They’re icons that twitter accepts as valid characters in tweets. To use them, just copy and paste the desired icon into your message box and voila!

TwitterPatterns

twitterpatterns.jpg

A free collection of unique background patterns for twitter. Pretty cool designs to choose from created by the folks from olivemanna.

TwitterMail

twittermail.jpg

Here’s a service that lets you email twitter updates to your account as well as gives you the option to have all your twitter replies emailed back to you.

Twitscoop.com

twitscoop.jpg

Here’s a cool new service that monitors keyword density on twitter to show us what the ‘Hot Trends’ might be, or at least what is the most popular topic. It’s updated every 20 seconds and also has a widget & RSS feed for your own personal use.

Monitter

ACC05D98-DA5D-44ED-ADB7-E8CF75021ED1.jpg

Here’s a brand-spanking-new service that lets your monitor/track twitter for up to three separate terms in real-time. It also lets you narrow the results based on the users location. RSS feeds available as well.

TweetBurner

79479FD8-322B-424B-9F33-1A052E4FA997.jpg

It’s a URL shortening service that also lets you track how many times people click on your link. Works with both Twitter and FriendFeed.

Twist

39C9E371-EFF0-43FA-BACE-72472F36AB78.jpg

This is a cool little tool that lets you compare trends in Twitter through a variety of different graphical methods. It also has the latest “Hot Before” and “Hot Now” terms sweeping across the Twittsphere. This may look familiar because it was used a lot to show the difference in social media mentions that Barack Obama received compared to McCain in the last few weeks of the election.

TweetStats

13E033B4-D7B4-49CA-9BDF-805F3C419DC0.jpg

Graph your Twitter stats including tweets per hour, tweets per month, tweet timeline and your reply statistics.

Twitter Search (formerly Summize)

8DEDE198-0ED6-48E0-B783-DEE1566E286A.jpg

Real-time searching of what’s being said on Twitter. Each search provides it’s own RSS feed along with the ability to search for specific users (i.e. @brentter). Formerly known as Summize, it was purchased by Twitter earlier this year. One more thing to note, it auto-updates with each new addition your search.

So, what do you use to manage your Twitter account? Tell me on here or by following me at @brentter on Twitter.

Tags: , , , ,

Unleash The Power Of Encyclopedia Britannica For Free!

Sunday, April 20th, 2008 | Books, News, RSS | No Comments

Pretty much everyone’s who has grown up in the United States and is at least 10 years old knows what the Encyclopedia Brittanica is. In fact, the older you are, the more familiar you probably are with the collection. Any type of research, especially if it took place while in elementary school, would usually start by rummaging through the library of books to find sources for your work. Even now, this 250 year old company still offers their yearly updated 32 volume set (with free shipping for only $1395!) and the digitized DVD/CD version (for a lesser $39.99, probably because it doesn’t involve shipping 90 pounds worth of books) via their website. Topics covered in the collection are written by leading experts in their field, including Nobel Peace Prize winners and authors with equally impressive backgrounds. For the last two centuries, Encyclopedia Britannica was the quinnesential source for knowledge for just about any topic….That is of course, until the arrival of wikipedia.

Now, searching wikipedia for definitions, articles, etc.. has taken the place that once was held by the shelf of encyclopedias that could be found at every single school and library. This put the publishing company up against a monsterous rival. How do you compete with something that is completely free? Books, DVD’s, enticing accomplished writers to submit articles all cost money, and Chris Anderson’s “Free” plan wouldn’t help them ensure a 2009 version of the series would be released, but they knew that something had to change.

What ended up changing was…… you guessed it…. their website. They’ve gone all web 2.0 on us. Now you can embed a variety of widgets, all via RSS feeds, into your own site ranging from specific topics of interest as well as neat little feeds that give you a Daily Quiz, Quote of the Day, Featured Contributer, Featured Media, On This Day In History, and much more. Specific topics and articles can be pulled from their massive online archives by signing up to a free new service they’re now calling WebShare. Using this service you can not only reference one of the premier authorities in subject matter directly on your website, but also interact with the company if you require something that isn’t already offered.

They’re giving fun, useful widgets away to the public for free, then are providing resources to authors, webmasters, and bloggers alike with hopes of enticing their readers to sign up for the online service.

For instance, If I was writing an article on one of our past presidents, I could pull a sample snippet from the massive presidential section of the Encyclopedia to accompany my article:

Users wanting more would then have the ability to sign up to learn everything there is to know about the man via Britannica’s subscription online version of their encyclopedia. Unlike wikipedia, you would know that the information you were reading was authentic, not to mention the fact that it would include more media/resources than your average wikipedia page.

Go checkout Britannica’s new website, as I said, they’ve revamped it to incorporate Flash, RSS feeds, widgets, and even now have an official Twitter account. So for all you twitter folks, feel free to add www.twitter.com/EBWebShare and tweet with some books from your childhood.

SocialThing – An Interactive Social-Site Aggregator

Thursday, March 13th, 2008 | Beta, Mashup, RSS, Tools, WebApps | No Comments

Introducing SocialThing, the latest in social-media site aggregators.
It’s still in beta mode, but as of 12:45pm EST the invite code: “techcrunch” still worked.

Interesting site. Instead of just asking for the location of all of your public feeds like FriendFeed does, it actually has you enter in your login and password to each of the social sites it pulls information from. This is what makes SocialThing different than FriendFeed (and other similar services) – It uses the various API’s, including OAuth with each site so that you can interact with the various feeds as if you were on the site itself. For example, If someone were to send me a message via twitter, I wouldn’t have to leave SocialThing’s site in order to respond. The same goes for the rest of the sites they currently aggregate (Facebook, Pownce, Twitter, Flickr, LiveJournal, and Vimeo).

The purpose of the site is to “Get your digital life together.” And once they start adding more social sites, this should kick services like friendfeed in the rear as it will allow you to actually use this site as a one-stop-shop for your social-networking needs, whereas other social aggregators tend to be just pretty representations of all your RSS feeds. Needless to say this could turn out to be a very useful tool, especially if they were to create some sort of application that could interactive with it (perhaps using Adobe AIR?), a la what twitter + pownce have done.

Taken from their site, it allows you to:
“See everything that’s going on with your friends in all the sites you use, easily figure out where you’re missing connections with your friends, interact with multiple sites at once, and more!

Socialthing! makes it easy to see all the things your friends are doing. It’s a news feed for every site that you use in one place.”

Now lets just see if this thing can actually take off, it seems like every day a new social-feed aggregator is released….I guess that goes to show you how its never good to be first in the sandbox… all it means is that the next killer app to come out in your genre will just incorporate all your positive innovations and most likely learn from your mistakes.

Tags: , , , , ,

Alltop.com – The New Mac-Daddy of News Portals

Sunday, March 2nd, 2008 | Marketing, Mashup, New Beginnings, News, Promotion, RSS | 2 Comments



Introducing Alltop.com, the latest venture from Nononina (the same company behind Truemors.com – an increasingly popular source for the latest internet rumors). Alltop.com, which is still in beta form, is an ever-growing collection of RSS feeds broken down into various categories, including everything from “Moms” to “Sports.” They essentially have attempted to categorize the web in what you could consider a one-stop-shop for whatever type of late-breaking-news you might be seeking. The sites featured in each category seem to change as better suited feeds come to light, however the most interesting part of this collection of data is just the sheer number of sources that they pull from. As I said, each set of feeds is based on a particular category, even including an “Ego” (where you’d find Scoble & Mark Cuban’s blog) and “Celebrities” (TMZ, Dlisted, and all other Britney-obsessed tabloids) category thrown in there for those who secretly fiend for celebrity gossip. The idea originally stemming from another multi-source RSS portal, Popurls, and piggy-backed on the success of Truemors, this new venture has already been widely talked about in both press and (obviously), the internet. Nononina is run by infamous mac-evangelist/idea-generator Guy Kawasaki, Will Mayall, and Kathryn Henkens. This trio also were the founders of Fog City Software, producers of the long forgotten (unless you were a mac/apple geek like me) Claris Emailer.

From personal observations, I’ve noticed that only a select crowd use their own custom RSS News Aggregator (a la Google Reader), or even social bookmarking services like del.icio.us. That positions this site as a convenient alternative to having to rely on iGoogle or a “customized” Yahoo! homepage. With those the user would have to already know which feeds he or she was interested in vieweing, whereas here the average internet user would be able to explore not only the sites they typically frequent, but would also be given the opportunity to discover a whole new realm of similar content. With that in mind, I applaud the trio for creating this news-portal, the only catch is whether or not they will be able to create enough “buzz” about the site to draw that targeted user demographic away from their most likely “widgetized” homepage. Hopefully posts like this will help the cause. I look forward to seeing how it evolves over the next year. Good luck guys!

For more information on Alltop, check-out this great post on the evolution blog featuring an interview with Mr. Kawasaki himself, or just go read what they have to say about themselves via their about page – alltop.com/about/

Tags: , , , ,

Other Places You Can Find Me: