professional documents
home
Profile
Upload
docsters
Blogs
Upload
Twitter Bots what they are and how to make them Neil Crosby - twitbot.com What’s Twitter? • You all know already. • But if you don’t… • SMS length mini updates of your life. What’s a Bot? • Automated process that responds to user input. 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(); Examples of Twitter Bots RSS Channel Werewolf Web Service “Friendly” RSS Bot • Tell it to watch an RSS feed. • Whenever the feed is updated, it tweets. E.g. TenWordReview, ttwr 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 Werewolf Bot • Written for yesterday • “d werebot wwwhs cbetta fatbusinessman mseckington cazm cubicgarden ginader niqui phae aral SteveMarshall cackhanded” • werewolf, healer, seer • Direct messages each player to tell them what they are. No cards required. • E.g. werebot 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). “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). Where’s the Automated? Cron job! Here’s the Code! 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/
flag this doc
82
2
not rated
0
5/17/2008
English
search termpage on Googletimes searched
Preview

Twitter or not to Twitter

MissPowerPoint 5/17/2008 | 69 | 8 | 0 | business
Preview

WTF is Twitter

MissPowerPoint 5/17/2008 | 68 | 1 | 0 | business
Preview

Go Twitter

MissPowerPoint 5/17/2008 | 62 | 0 | 0 | business
Preview

Stunning Images from Yellowstone National Park

PrivateLabelArticles 5/17/2008 | 41 | 3 | 0 | educational
Preview

Decision Making Free Powerpoint Presentation 2008

PrivateLabelArticles 5/17/2008 | 251 | 30 | 0 | educational
Preview

Twitter

ProfessionalDocument 8/4/2008 | 37 | 0 | 0 | technology
Preview

Twitter for fun and Profit

MissPowerPoint 5/17/2008 | 91 | 5 | 0 | business
Preview

Twitter the Micro Blogging Tool

MissPowerPoint 5/17/2008 | 140 | 14 | 0 | business
Preview

Small Business Owners Need Twitter and Linkedin

ProfessionalDocument 8/4/2008 | 62 | 2 | 0 | technology
Preview

trends and impacts of elearning

PrivateLabelArticles 5/17/2008 | 71 | 6 | 0 | educational
Preview

Dreamline Worksheet Timeline - Be A Success Have your dreams come true

PrivateLabelArticles 5/17/2008 | 61 | 1 | 0 | educational
Preview

art by keith mackay Illusions

PrivateLabelArticles 5/17/2008 | 64 | 2 | 0 | educational
Preview

Career Advice for 2008

PrivateLabelArticles 5/17/2008 | 78 | 2 | 0 | educational
Preview

Twitter and other mobile tools for teaching and learning

MissPowerPoint 5/17/2008 | 106 | 10 | 0 | business
Preview

What the heck is twitter and why should I care

MissPowerPoint 5/17/2008 | 67 | 3 | 0 | business
Preview

Shower Shock Caffeinated Soap

PrivateLabelArticles 9/3/2008 | 13 | 0 | 0 | BUZZ
Preview

Geek License Plates

PrivateLabelArticles 9/3/2008 | 120 | 0 | 2 | BUZZ
Preview

ps appendix D2

PrivateLabelArticles 8/19/2008 | 50 | 3 | 0 | educational
Preview

PS3 TerrSpill

PrivateLabelArticles 8/19/2008 | 44 | 1 | 0 | educational
Preview

protect law

PrivateLabelArticles 8/19/2008 | 47 | 0 | 0 | educational
Preview

property market hong kong

PrivateLabelArticles 8/19/2008 | 58 | 2 | 0 | educational
Preview

PromocijasEksamens

PrivateLabelArticles 8/19/2008 | 32 | 0 | 0 | educational
Preview

Promedica Hoya

PrivateLabelArticles 8/19/2008 | 38 | 1 | 0 | educational
Preview

Program OverviewMAS 09 11 000

PrivateLabelArticles 8/19/2008 | 34 | 0 | 0 | educational
Preview

program att arbeta fram likabehandlingsplanho

PrivateLabelArticles 8/19/2008 | 33 | 0 | 0 | educational
twitter bots php11
twitter bots11
 
review this doc