<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>youdidwhatwithtsql.com &#187; TwitterCounter</title>
	<atom:link href="http://www.youdidwhatwithtsql.com/tag/twittercounter/feed" rel="self" type="application/rss+xml" />
	<link>http://www.youdidwhatwithtsql.com</link>
	<description>making DBAs everywhere curse!</description>
	<lastBuildDate>Sat, 24 Jul 2010 16:26:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Using TwitterCounter with Tweet-SQL</title>
		<link>http://www.youdidwhatwithtsql.com/using-twittercounter-with-tweet-sql/165</link>
		<comments>http://www.youdidwhatwithtsql.com/using-twittercounter-with-tweet-sql/165#comments</comments>
		<pubDate>Sat, 06 Jun 2009 15:10:46 +0000</pubDate>
		<dc:creator>Rhys</dc:creator>
				<category><![CDATA[Tweet-SQL]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[Twitter API]]></category>
		<category><![CDATA[Twitter App]]></category>
		<category><![CDATA[TwitterCounter]]></category>

		<guid isPermaLink="false">http://www.youdidwhatwithtsql.com/using-twittercounter-with-tweet-sql/165</guid>
		<description><![CDATA[TwitterCounter is a service that provides Twitter user statistics. In their own words; “The TwitterCounter API allows you to retrieve everything TwitterCounter knows about a certain Twitter username.” TwitterCounter basically provides statistics on followers and predictions on growth. The next version of Tweet-SQL will include a procedure to work with this data. Here’s how you [...]<p>Post from: <a href="http://www.youdidwhatwithtsql.com">youdidwhatwithtsql.com</a><br/><br/><a href="http://www.youdidwhatwithtsql.com/using-twittercounter-with-tweet-sql/165">Using TwitterCounter with Tweet-SQL</a></p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://twittercounter.com/" target="_blank">TwitterCounter</a> is a service that provides <a href="http://twitter.com" target="_blank">Twitter</a> user statistics. In their own words; <em>“The TwitterCounter API allows you to retrieve everything TwitterCounter knows about a certain Twitter username.” </em><a href="http://twittercounter.com" target="_blank">TwitterCounter</a> basically provides statistics on followers and predictions on growth. The next version of <a href="http://www.tweet-sql.com/" target="_blank">Tweet-SQL</a> will include a procedure to work with this data. Here’s how you use it;</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p165code2'); return false;">View Code</a> TSQL</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p1652"><td class="code" id="p165code2"><pre class="tsql" style="font-family:monospace;"><span style="color: #0000FF;">DECLARE</span> @username <span style="color: #0000FF;">VARCHAR</span><span style="color: #808080;">&#40;</span><span style="color: #000;">30</span><span style="color: #808080;">&#41;</span>;
<span style="color: #008080;">-- Set Twitter username</span>
<span style="color: #0000FF;">SET</span> @username <span style="color: #808080;">=</span> <span style="color: #FF0000;">'rhyscampbell'</span>;
<span style="color: #008080;">-- Execute the procedure</span>
<span style="color: #0000FF;">EXEC</span> dbo.<span style="color: #202020;">tweet_util_twitterCounter</span> @username, null, null;</pre></td></tr></table></div>

<p><a href="http://www.youdidwhatwithtsql.com/wp-content/uploads/2009/06/image8.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Tweet-SQL results from TwitterCounter" border="0" alt="Tweet-SQL results from TwitterCounter" src="http://www.youdidwhatwithtsql.com/wp-content/uploads/2009/06/image-thumb8.png" width="644" height="110" /></a> </p>
<p>Here’s the raw xml that is accessible by using OUTPUT parameters.</p>
<pre>&lt;twittercounter&gt;
  &lt;user_id&gt;297689&lt;/user_id&gt;
  &lt;user_name&gt;rhyscampbell&lt;/user_name&gt;
  &lt;followers_current&gt;255&lt;/followers_current&gt;
  &lt;date_updated&gt;2009-06-06&lt;/date_updated&gt;
  &lt;url&gt;http://www.youdidwhatwithtsql.com&lt;/url&gt;
  &lt;avatar&gt;70800065/n571986135_2362730_9166_normal.jpg&lt;/avatar&gt;
  &lt;follow_days&gt;253&lt;/follow_days&gt;
  &lt;started_followers&gt;18&lt;/started_followers&gt;
  &lt;growth_since&gt;237&lt;/growth_since&gt;
  &lt;average_growth&gt;1&lt;/average_growth&gt;
  &lt;tomorrow&gt;256&lt;/tomorrow&gt;
  &lt;next_month&gt;285&lt;/next_month&gt;
  &lt;followers_yesterday&gt;258&lt;/followers_yesterday&gt;
  &lt;rank&gt;90877&lt;/rank&gt;
  &lt;followers_2w_ago&gt;18&lt;/followers_2w_ago&gt;
  &lt;growth_since_2w&gt;237&lt;/growth_since_2w&gt;
  &lt;average_growth_2w&gt;17&lt;/average_growth_2w&gt;
  &lt;tomorrow_2w&gt;272&lt;/tomorrow_2w&gt;
  &lt;next_month_2w&gt;765&lt;/next_month_2w&gt;
  &lt;followersperdate&gt;
    &lt;date2009-05-11&gt;227&lt;/date2009-05-11&gt;
    &lt;date2009-05-12&gt;227&lt;/date2009-05-12&gt;
    &lt;date2009-05-15&gt;230&lt;/date2009-05-15&gt;
    &lt;date2009-05-17&gt;230&lt;/date2009-05-17&gt;
    &lt;date2009-05-20&gt;232&lt;/date2009-05-20&gt;
    &lt;date2009-05-22&gt;239&lt;/date2009-05-22&gt;
    &lt;date2009-05-24&gt;241&lt;/date2009-05-24&gt;
    &lt;date2009-05-26&gt;249&lt;/date2009-05-26&gt;
    &lt;date2009-05-29&gt;248&lt;/date2009-05-29&gt;
    &lt;date2009-05-31&gt;250&lt;/date2009-05-31&gt;
    &lt;date2009-06-02&gt;248&lt;/date2009-06-02&gt;
    &lt;date2009-06-04&gt;258&lt;/date2009-06-04&gt;
    &lt;date2009-06-06&gt;255&lt;/date2009-06-06&gt;
  &lt;/followersperdate&gt;
&lt;/twittercounter&gt;</pre>
<p><map name='google_ad_map_165_a45beff5d2e172f6'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/165?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_165_a45beff5d2e172f6' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=165&amp;url=http%3A%2F%2Fwww.youdidwhatwithtsql.com%2Fusing-twittercounter-with-tweet-sql%2F165' title="Using TwitterCounter with Tweet SQL" alt=" Using TwitterCounter with Tweet SQL" /></p><p>Post from: <a href="http://www.youdidwhatwithtsql.com">youdidwhatwithtsql.com</a><br/><br/><a href="http://www.youdidwhatwithtsql.com/using-twittercounter-with-tweet-sql/165">Using TwitterCounter with Tweet-SQL</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youdidwhatwithtsql.com/using-twittercounter-with-tweet-sql/165/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
