<?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: Posting Twitter Updates via Curl</title>
	<atom:link href="http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/</link>
	<description>Utterly random, incoherent and disjointed rants and ramblings...</description>
	<lastBuildDate>Fri, 19 Mar 2010 01:27:34 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Luke Maciak</title>
		<link>http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/comment-page-1/#comment-13664</link>
		<dc:creator>Luke Maciak</dc:creator>
		<pubDate>Fri, 27 Nov 2009 20:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-13664</guid>
		<description>&lt;b&gt;@ &lt;a href=&quot;#comment-13663&quot; title=&quot;Go to comment of this author&quot; rel=&quot;nofollow&quot;&gt;Cenk İlker İzanlı&lt;/a&gt;&lt;/b&gt;:

You are sending an update via standard http request - it&#039;s not secure at all. If you use https on the other hand, it&#039;s a different story.</description>
		<content:encoded><![CDATA[<span id="co_13664"><p><b>@ <a class="atr_link" href="#comment-13663" title="Go to comment of this author" rel="nofollow" class="liinternal">Cenk İlker İzanlı</a></b>:</p>
<p>You are sending an update via standard http request &#8211; it&#8217;s not secure at all. If you use https on the other hand, it&#8217;s a different story.</p>
</span><div class="comment-toolbar" style="text-align: right"><a href="#comment" onclick="CF_Reply('13664','Luke Maciak'); return false;">Reply</a>  |  <a href="#comment" onclick="CF_Quote('13664','Luke Maciak'); return false;">Quote</a></div>]]></content:encoded>
	</item>
	<item>
		<title>By: Cenk İlker İzanlı</title>
		<link>http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/comment-page-1/#comment-13663</link>
		<dc:creator>Cenk İlker İzanlı</dc:creator>
		<pubDate>Fri, 27 Nov 2009 20:04:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-13663</guid>
		<description>Hello folks,

First good tut for startup,I wonder how secure is this method?</description>
		<content:encoded><![CDATA[<span id="co_13663"><p>Hello folks,</p>
<p>First good tut for startup,I wonder how secure is this method?</p>
</span><div class="comment-toolbar" style="text-align: right"><a href="#comment" onclick="CF_Reply('13663','Cenk İlker İzanlı'); return false;">Reply</a>  |  <a href="#comment" onclick="CF_Quote('13663','Cenk İlker İzanlı'); return false;">Quote</a></div>]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Johnson</title>
		<link>http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/comment-page-1/#comment-13530</link>
		<dc:creator>Joe Johnson</dc:creator>
		<pubDate>Mon, 09 Nov 2009 23:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-13530</guid>
		<description>Thank you. I love tweeting with cURL. It was all I needed to get started with automatic tweets.
Thanks 
Joemsie</description>
		<content:encoded><![CDATA[<span id="co_13530"><p>Thank you. I love tweeting with cURL. It was all I needed to get started with automatic tweets.<br />
Thanks<br />
Joemsie</p>
</span><div class="comment-toolbar" style="text-align: right"><a href="#comment" onclick="CF_Reply('13530','Joe Johnson'); return false;">Reply</a>  |  <a href="#comment" onclick="CF_Quote('13530','Joe Johnson'); return false;">Quote</a></div>]]></content:encoded>
	</item>
	<item>
		<title>By: To Twitter or Not To Twitter&#8230; That is the Question &#171; Techtv101.com</title>
		<link>http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/comment-page-1/#comment-13127</link>
		<dc:creator>To Twitter or Not To Twitter&#8230; That is the Question &#171; Techtv101.com</dc:creator>
		<pubDate>Mon, 07 Sep 2009 18:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-13127</guid>
		<description>[...] Posting Twitter Updates via Curl. Tutorial on posting an update to twitter using just curl and nothing else. [...]</description>
		<content:encoded><![CDATA[<div style="background-color: #FFFFDC;">
<p>[...] Posting Twitter Updates via Curl. Tutorial on posting an update to twitter using just curl and nothing else. [...]</p>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Maciak</title>
		<link>http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/comment-page-1/#comment-11730</link>
		<dc:creator>Luke Maciak</dc:creator>
		<pubDate>Sat, 07 Mar 2009 02:13:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-11730</guid>
		<description>[quote post=&quot;1475&quot;]How can I give a tweet with the source for example “Terminal”. Default tweets have the source “web”, “IM”, “phone” or “Twitterific” [/quote]

&lt;a href=&quot;#comment-11729&quot; rel=&quot;nofollow&quot;&gt;Richard Bronosky&lt;/a&gt; is correct. You need to obtain an API key by filling out this form:

&lt;a href=&quot;http://twitter.com/help/request_source&quot; rel=&quot;nofollow&quot;&gt;http://twitter.com/help/request_source&lt;/a&gt;

Your application must then be approved by the Twitter team. They mostly decide whether to approve a request or not, based on the project website you submit. Yes, you have to build a custom app, and establish some web presence for it. Creating a Google Code project should be enough, as long as you have some deliverables available for download. That&#039;s &lt;a href=&quot;http://code.google.com/p/twimi/&quot; rel=&quot;nofollow&quot;&gt;what I did&lt;/a&gt;.

More info, &lt;a href=&quot;http://apiwiki.twitter.com/FAQ#HowdoIget%E2%80%9CfromMyApp%E2%80%9DappendedtoupdatessentfrommyAPIapplication&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<span id="co_11730"><p>[quote post="1475"]How can I give a tweet with the source for example “Terminal”. Default tweets have the source “web”, “IM”, “phone” or “Twitterific” [/quote]</p>
<p><a class="atr_link" href="#comment-11729" rel="nofollow" class="liinternal">Richard Bronosky</a> is correct. You need to obtain an API key by filling out this form:</p>
<p><a href="http://twitter.com/help/request_source" rel="nofollow" class="liexternal">http://twitter.com/help/request_source</a></p>
<p>Your application must then be approved by the Twitter team. They mostly decide whether to approve a request or not, based on the project website you submit. Yes, you have to build a custom app, and establish some web presence for it. Creating a Google Code project should be enough, as long as you have some deliverables available for download. That&#8217;s <a href="http://code.google.com/p/twimi/" rel="nofollow" class="liexternal">what I did</a>.</p>
<p>More info, <a href="http://apiwiki.twitter.com/FAQ#HowdoIget%E2%80%9CfromMyApp%E2%80%9DappendedtoupdatessentfrommyAPIapplication" rel="nofollow" class="liexternal">here</a>.</p>
</span><div class="comment-toolbar" style="text-align: right"><a href="#comment" onclick="CF_Reply('11730','Luke Maciak'); return false;">Reply</a>  |  <a href="#comment" onclick="CF_Quote('11730','Luke Maciak'); return false;">Quote</a></div>]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Bronosky</title>
		<link>http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/comment-page-1/#comment-11729</link>
		<dc:creator>Richard Bronosky</dc:creator>
		<pubDate>Sat, 07 Mar 2009 00:39:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-11729</guid>
		<description>[quote comment=&quot;11727&quot;]How can I give a tweet with the source for example &quot;Terminal&quot;.
Default tweets have the source &quot;web&quot;, &quot;IM&quot;, &quot;phone&quot; or &quot;Twitterific&quot;[/quote]

You would have to get an API key.</description>
		<content:encoded><![CDATA[<span id="co_11729"><p>[quote comment="11727"]How can I give a tweet with the source for example &#8220;Terminal&#8221;.<br />
Default tweets have the source &#8220;web&#8221;, &#8220;IM&#8221;, &#8220;phone&#8221; or &#8220;Twitterific&#8221;[/quote]</p>
<p>You would have to get an API key.</p>
</span><div class="comment-toolbar" style="text-align: right"><a href="#comment" onclick="CF_Reply('11729','Richard Bronosky'); return false;">Reply</a>  |  <a href="#comment" onclick="CF_Quote('11729','Richard Bronosky'); return false;">Quote</a></div>]]></content:encoded>
	</item>
	<item>
		<title>By: Marco Koch</title>
		<link>http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/comment-page-1/#comment-11727</link>
		<dc:creator>Marco Koch</dc:creator>
		<pubDate>Fri, 06 Mar 2009 22:29:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-11727</guid>
		<description>How can I give a tweet with the source for example &quot;Terminal&quot;.
Default tweets have the source &quot;web&quot;, &quot;IM&quot;, &quot;phone&quot; or &quot;Twitterific&quot;</description>
		<content:encoded><![CDATA[<span id="co_11727"><p>How can I give a tweet with the source for example &#8220;Terminal&#8221;.<br />
Default tweets have the source &#8220;web&#8221;, &#8220;IM&#8221;, &#8220;phone&#8221; or &#8220;Twitterific&#8221;</p>
</span><div class="comment-toolbar" style="text-align: right"><a href="#comment" onclick="CF_Reply('11727','Marco Koch'); return false;">Reply</a>  |  <a href="#comment" onclick="CF_Quote('11727','Marco Koch'); return false;">Quote</a></div>]]></content:encoded>
	</item>
	<item>
		<title>By: RichardBronosky</title>
		<link>http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/comment-page-1/#comment-10800</link>
		<dc:creator>RichardBronosky</dc:creator>
		<pubDate>Mon, 24 Nov 2008 20:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-10800</guid>
		<description>@&lt;a href=&quot;#comment-8967&quot; rel=&quot;nofollow&quot;&gt;Cosmin Ghiu&lt;/a&gt;: 
You could build a &quot;follower-thanking&quot; bot as a cron job that:
&lt;strong&gt;1.&lt;/strong&gt; Capture your latest list of followers like so:
&lt;pre lang=&quot;bash&quot;&gt;curl --basic --user $u:$p http://twitter.com/statuses/followers/$u.xml &gt; ~/.twitter-$u-followers.temp&lt;/pre&gt;
&lt;em&gt;(The &gt; above should be a &lt;strong&gt;&gt;&lt;/strong&gt; char, but it&#039;s getting caught by the WordPress)&lt;/em&gt;
&lt;strong&gt;2.&lt;/strong&gt; If there is no ~/.twitter-$u-followers.xml, jump to step 7
&lt;strong&gt;3.&lt;/strong&gt; Compare that to your previously saved* list of followers ~/.twitter-$u-followers.xml
&lt;strong&gt;4.&lt;/strong&gt; Exit if no diff
&lt;strong&gt;5.&lt;/strong&gt; Extract the screen_name field for each new follower
&lt;strong&gt;6.&lt;/strong&gt; Sent each new follower a tweet like so:
&lt;pre lang=&quot;bash&quot;&gt;for f in $new; do curl --basic --user $u:$p --data status=&quot;@$f Hey, thanks for following me. Where did you find out about me?&quot; http://twitter.com/statuses/update.xml; done&lt;/pre&gt;
&lt;strong&gt;7.&lt;/strong&gt; mv -f ~/.twitter-$u-followers.temp ~/.twitter-$u-followers # *this satisfies step 3.

I&#039;ll write a complete Bash script later, this is just off the top of my head. When I implement Step 5, I&#039;m not sure if I want to just use sed or do a full blown xsltproc on it.</description>
		<content:encoded><![CDATA[<span id="co_10800"><p>@<a class="atr_link" href="#comment-8967" rel="nofollow" class="liinternal">Cosmin Ghiu</a>:<br />
You could build a &#8220;follower-thanking&#8221; bot as a cron job that:<br />
<strong>1.</strong> Capture your latest list of followers like so:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">curl <span style="color: #660033;">--basic</span> <span style="color: #660033;">--user</span> <span style="color: #007800;">$u</span>:<span style="color: #007800;">$p</span> http:<span style="color: #000000; font-weight: bold;">//</span>twitter.com<span style="color: #000000; font-weight: bold;">/</span>statuses<span style="color: #000000; font-weight: bold;">/</span>followers<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$u</span>.xml <span style="color: #000000; font-weight: bold;">&amp;</span>gt; ~<span style="color: #000000; font-weight: bold;">/</span>.twitter-<span style="color: #007800;">$u</span>-followers.temp</pre></div></div>

<p><em>(The &amp;gt; above should be a <strong>&gt;</strong> char, but it&#8217;s getting caught by the WordPress)</em><br />
<strong>2.</strong> If there is no ~/.twitter-$u-followers.xml, jump to step 7<br />
<strong>3.</strong> Compare that to your previously saved* list of followers ~/.twitter-$u-followers.xml<br />
<strong>4.</strong> Exit if no diff<br />
<strong>5.</strong> Extract the screen_name field for each new follower<br />
<strong>6.</strong> Sent each new follower a tweet like so:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">for</span> f <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #007800;">$new</span>; <span style="color: #000000; font-weight: bold;">do</span> curl <span style="color: #660033;">--basic</span> <span style="color: #660033;">--user</span> <span style="color: #007800;">$u</span>:<span style="color: #007800;">$p</span> <span style="color: #660033;">--data</span> <span style="color: #007800;">status</span>=<span style="color: #ff0000;">&quot;@<span style="color: #007800;">$f</span> Hey, thanks for following me. Where did you find out about me?&quot;</span> http:<span style="color: #000000; font-weight: bold;">//</span>twitter.com<span style="color: #000000; font-weight: bold;">/</span>statuses<span style="color: #000000; font-weight: bold;">/</span>update.xml; <span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

<p><strong>7.</strong> mv -f ~/.twitter-$u-followers.temp ~/.twitter-$u-followers # *this satisfies step 3.</p>
<p>I&#8217;ll write a complete Bash script later, this is just off the top of my head. When I implement Step 5, I&#8217;m not sure if I want to just use sed or do a full blown xsltproc on it.</p>
</span><div class="comment-toolbar" style="text-align: right"><a href="#comment" onclick="CF_Reply('10800','RichardBronosky'); return false;">Reply</a>  |  <a href="#comment" onclick="CF_Quote('10800','RichardBronosky'); return false;">Quote</a></div>]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Maciak</title>
		<link>http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/comment-page-1/#comment-10299</link>
		<dc:creator>Luke Maciak</dc:creator>
		<pubDate>Wed, 01 Oct 2008 23:51:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-10299</guid>
		<description>@&lt;a href=&quot;#comment-10298&quot; rel=&quot;nofollow&quot;&gt;SmartAssProducts&lt;/a&gt;: Agreed. It is indeed faster. :) Also check &lt;a href=&quot;http://www.terminally-incoherent.com/blog/2008/09/09/twimi/&quot; rel=&quot;nofollow&quot;&gt;this post&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<span id="co_10299"><p>@<a class="atr_link" href="#comment-10298" rel="nofollow" class="liinternal">SmartAssProducts</a>: Agreed. It is indeed faster. <img src='http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Also check <a href="http://www.terminally-incoherent.com/blog/2008/09/09/twimi/" rel="nofollow" class="liinternal">this post</a>.</p>
</span><div class="comment-toolbar" style="text-align: right"><a href="#comment" onclick="CF_Reply('10299','Luke Maciak'); return false;">Reply</a>  |  <a href="#comment" onclick="CF_Quote('10299','Luke Maciak'); return false;">Quote</a></div>]]></content:encoded>
	</item>
	<item>
		<title>By: SmartAssProducts</title>
		<link>http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/comment-page-1/#comment-10298</link>
		<dc:creator>SmartAssProducts</dc:creator>
		<pubDate>Wed, 01 Oct 2008 23:40:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-10298</guid>
		<description>I&#039;ve been using this method and just stumbled upon your page while looking for similar methods.  One thing I want to point out is that--at least for me and the many other *nix geeks I know who also Twitter from a command line--it has nothing to do with &quot;some headless unix machine that doesn’t have a proper browser…&quot;  We use it because it&#039;s QUICKER!  I have at least 15 very nice browsers, thank you, but NONE of them is as quick as typing: twitter [my message]  (I named the shell script I wrote &lt;b&gt;twitter&lt;/b&gt;.)   So, yeah! :)</description>
		<content:encoded><![CDATA[<span id="co_10298"><p>I&#8217;ve been using this method and just stumbled upon your page while looking for similar methods.  One thing I want to point out is that&#8211;at least for me and the many other *nix geeks I know who also Twitter from a command line&#8211;it has nothing to do with &#8220;some headless unix machine that doesn’t have a proper browser…&#8221;  We use it because it&#8217;s QUICKER!  I have at least 15 very nice browsers, thank you, but NONE of them is as quick as typing: twitter [my message]  (I named the shell script I wrote <b>twitter</b>.)   So, yeah! <img src='http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</span><div class="comment-toolbar" style="text-align: right"><a href="#comment" onclick="CF_Reply('10298','SmartAssProducts'); return false;">Reply</a>  |  <a href="#comment" onclick="CF_Quote('10298','SmartAssProducts'); return false;">Quote</a></div>]]></content:encoded>
	</item>
</channel>
</rss>
