<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Some Twitter Bot Service Basics</title>
	<atom:link href="http://dansgalaxy.co.uk/2009/06/27/some-twitter-bot-service-basics/feed/" rel="self" type="application/rss+xml" />
	<link>http://dansgalaxy.co.uk/2009/06/27/some-twitter-bot-service-basics/</link>
	<description>King Geek (or is it Geek King?)</description>
	<lastBuildDate>Wed, 30 Jun 2010 07:36:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Aaron Bassett</title>
		<link>http://dansgalaxy.co.uk/2009/06/27/some-twitter-bot-service-basics/comment-page-1/#comment-1661</link>
		<dc:creator>Aaron Bassett</dc:creator>
		<pubDate>Sat, 27 Jun 2009 13:22:21 +0000</pubDate>
		<guid isPermaLink="false">http://dansgalaxy.co.uk/?p=486#comment-1661</guid>
		<description>You can merge multiple phrases into a single request using OR operators. Wouldn&#039;t suggest doing it for hundreds or thousands of phrases but would def work for 3 phrases. So that&#039;s only 3 requests rather than 9. Also as you do not need to grab every tweet you could reduce the frequency of your requests. So if you were grabbing the public timeline at a rate of once per minute, but your key phrases are only uttered once an hour you could reduce your requests down to once every 4 days (search brings back max of 100 results @ 1 per hr these 100 results would cover 4.16667 days, extreme example but you get what I mean)

But you are correct about it not working if you have hundreds of bots, none of the rate limited services would. But once you reach of those kind of traffic levels maybe you could make a good pitch for requesting access to the &#039;Firehose&#039; - http://blog.twitter.com/2008/07/twitter-and-xmpp-drinking-from-fire.html</description>
		<content:encoded><![CDATA[<p>You can merge multiple phrases into a single request using OR operators. Wouldn&#8217;t suggest doing it for hundreds or thousands of phrases but would def work for 3 phrases. So that&#8217;s only 3 requests rather than 9. Also as you do not need to grab every tweet you could reduce the frequency of your requests. So if you were grabbing the public timeline at a rate of once per minute, but your key phrases are only uttered once an hour you could reduce your requests down to once every 4 days (search brings back max of 100 results @ 1 per hr these 100 results would cover 4.16667 days, extreme example but you get what I mean)</p>
<p>But you are correct about it not working if you have hundreds of bots, none of the rate limited services would. But once you reach of those kind of traffic levels maybe you could make a good pitch for requesting access to the &#8216;Firehose&#8217; &#8211; <a href="http://blog.twitter.com/2008/07/twitter-and-xmpp-drinking-from-fire.html" rel="nofollow">http://blog.twitter.com/2008/07/twitter-and-xmpp-drinking-from-fire.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://dansgalaxy.co.uk/2009/06/27/some-twitter-bot-service-basics/comment-page-1/#comment-1660</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Sat, 27 Jun 2009 13:01:02 +0000</pubDate>
		<guid isPermaLink="false">http://dansgalaxy.co.uk/?p=486#comment-1660</guid>
		<description>Ah but the issue with that is i then have to run a search api query for every phrase for every bot.

As this system is already running 3 bots and (currently) 3 phrases each that&#039;s 9 requests verse 1 request.

And I am hoping to build on this to eventually end up running tens (maybe even hundreds) of bots which as far as i can tell from the rate limits would just be totally undoable :( 

Also more bots/phrases the % of useful tweets also goes up ^^

Happy to be corrected if I am wrong though :)</description>
		<content:encoded><![CDATA[<p>Ah but the issue with that is i then have to run a search api query for every phrase for every bot.</p>
<p>As this system is already running 3 bots and (currently) 3 phrases each that&#8217;s 9 requests verse 1 request.</p>
<p>And I am hoping to build on this to eventually end up running tens (maybe even hundreds) of bots which as far as i can tell from the rate limits would just be totally undoable <img src='http://dansgalaxy.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  </p>
<p>Also more bots/phrases the % of useful tweets also goes up ^^</p>
<p>Happy to be corrected if I am wrong though <img src='http://dansgalaxy.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Bassett</title>
		<link>http://dansgalaxy.co.uk/2009/06/27/some-twitter-bot-service-basics/comment-page-1/#comment-1659</link>
		<dc:creator>Aaron Bassett</dc:creator>
		<pubDate>Sat, 27 Jun 2009 12:55:39 +0000</pubDate>
		<guid isPermaLink="false">http://dansgalaxy.co.uk/?p=486#comment-1659</guid>
		<description>Rather than catch every (or attempt to) tweet via public stream you could use the search API. That way you are only lifting out tweets that matter to the bot.

So for example say every 10,000 tweets you grab from public timeline one contains the phrase you are looking for then only 0.0001% of the data stored in your DB is useful to the bot.
If you use the search API to only grab those of interest it rises to 100% :)</description>
		<content:encoded><![CDATA[<p>Rather than catch every (or attempt to) tweet via public stream you could use the search API. That way you are only lifting out tweets that matter to the bot.</p>
<p>So for example say every 10,000 tweets you grab from public timeline one contains the phrase you are looking for then only 0.0001% of the data stored in your DB is useful to the bot.<br />
If you use the search API to only grab those of interest it rises to 100% <img src='http://dansgalaxy.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
