Twitter Bots

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

4 comments

Comments 1 - 4 of 4 previous next Post a comment

Post a comment
Embed Video
Edit your comment Cancel

2 Favorites

Twitter Bots - Presentation Transcript

  1. Twitter Bots what they are and how to make them Neil Crosby - twitbot.com
  2. What’s Twitter?
    • You all know already.
    • But if you don’t…
    • SMS length mini updates of your life.
  3. What’s a Bot?
    • Automated process that responds to user input.
  4. Twitter API
    • I’ve created an encapsulation in PHP.
    • This makes things easy.
      • $api = new Twitter($uname, $pword);
      • $messages = $api->directMessages->direct_messages();
      • $api->status->update( ”tweet tweet" );
      • $followers = $api->user->followers();
  5. Examples of Twitter Bots RSS Channel Werewolf Web Service “Friendly”
  6. RSS Bot
    • Tell it to watch an RSS feed.
    • Whenever the feed is updated, it tweets.
    • E.g. TenWordReview, ttwr
  7. Channel Bot
    • Bot echos any direct messages out to the public timeline.
    • Only people following the bot see these messages.
    • Thus, we achieve channels in Twitter.
    • E.g. yahoofood
  8. Werewolf Bot
    • Written for yesterday
    • “ d werebot wwwhs cbetta fatbusinessman mseckington cazm cubicgarden ginader niqui phae aral SteveMarshall cackhanded”
    • w erewolf, h ealer, s eer
    • Direct messages each player to tell them what they are. No cards required.
    • E.g. werebot
  9. Web Service Bot
    • More complicated (but still not very).
      • Takes input from user.
      • Passes input to web service.
      • Direct messages user with result of web service call.
    • No working example yet (ttwr soon).
  10. “ Friendly” Bot
    • Keeps track of who’s following him and then friends them.
    • Vital for easy management of channel, werewolf and web service bots.
    • Currently unimplemented (oh noes).
  11. Where’s the Automated?
    • Cron job!
  12. Here’s the Code!
    • http: //twitbot .com/download
  13. Rettribution
    • http://www.flickr.com/photos/dcharti/2233111820/
    • http://www.flickr.com/photos/ferricide/1789375804/
    • http://www.flickr.com/photos/ezu/277341190/
    • http://www.flickr.com/photos/19516393@N00/308200734/
    • http://www.flickr.com/photos/davidex/2091970568/
    • http://www.flickr.com/photos/striatic/1276092/
    • http://www.flickr.com/photos/stinkypeter/157437582/
    • http://www.flickr.com/photos/kamil/711847556/
    • http://www.flickr.com/photos/moonpiesformisfits/263550936/
    • http://www.flickr.com/photos/scazzophoto/40552349/
    • http://www.flickr.com/photos/nez/378349478/

+ Neil CrosbyNeil Crosby, 2 years ago

custom

3917 views, 2 favs, 3 embeds more stats

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 3917
    • 3799 on SlideShare
    • 118 from embeds
  • Comments 4
  • Favorites 2
  • Downloads 36
Most viewed embeds
  • 106 views on http://www.workingwith.me.uk
  • 8 views on http://www.polle.net
  • 4 views on http://www.createwebsite.info

more

All embeds
  • 106 views on http://www.workingwith.me.uk
  • 8 views on http://www.polle.net
  • 4 views on http://www.createwebsite.info

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories