<?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>Codec &#187; twitter</title>
	<atom:link href="http://www.trembl.org/codec/tag/twitter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trembl.org/codec</link>
	<description>A Personal Polylogic Code/Decode &#039;Zettelkasten&#039;</description>
	<lastBuildDate>Thu, 02 Feb 2012 03:38:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Chaning Colors in Twitter with the API</title>
		<link>http://www.trembl.org/codec/319/</link>
		<comments>http://www.trembl.org/codec/319/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 04:52:05 +0000</pubDate>
		<dc:creator>Georg Tremmel</dc:creator>
				<category><![CDATA[Raw]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.trembl.org/codec/?p=319</guid>
		<description><![CDATA[require &#34;&#60;a href=&#34;http://github.com/jdp/twitterlibphp&#34;&#62;twitter.lib.php&#60;/a&#62;&#34;; &#160; $username = &#34;&#60;a href=&#34;http://twitter.com/trembl/&#34;&#62;trembl&#60;/a&#62;&#34;; $password = &#34;&#38;bull;&#38;bull;&#38;bull;&#38;bull;&#38;bull;&#38;bull;&#38;bull;&#38;bull;&#34;; &#160; $twitter = new Twitter&#40;$username, $password&#41;; &#160; $options = array&#40; &#34;profile_background_color&#34; =&#62; &#34;fff&#34;, &#34;profile_text_color&#34; =&#62; &#34;fff&#34;, &#34;profile_link_color&#34; =&#62; &#34;fff&#34;, &#34;profile_sidebar_fill_color&#34; =&#62; &#34;fff&#34;, &#34;profile_sidebar_border_color&#34; =&#62; &#34;fff&#34; &#41;; &#160; $update_response = $twitter-&#62;updateProfileColors&#40;$options&#41;; print_r&#40;$update_response&#41;; Nice, isn&#8217;t it?]]></description>
			<content:encoded><![CDATA[
<div class="wp_syntax"><div class="code"><pre class="objc" style="font-family:monospace;">require <span style="color: #bf1d1a;">&quot;&lt;a href=&quot;</span>http<span style="color: #002200;">:</span><span style="color: #11740a; font-style: italic;">//github.com/jdp/twitterlibphp&quot;&gt;twitter.lib.php&lt;/a&gt;&quot;;</span>
&nbsp;
$username <span style="color: #002200;">=</span> <span style="color: #bf1d1a;">&quot;&lt;a href=&quot;</span>http<span style="color: #002200;">:</span><span style="color: #11740a; font-style: italic;">//twitter.com/trembl/&quot;&gt;trembl&lt;/a&gt;&quot;;</span>
$password <span style="color: #002200;">=</span> <span style="color: #bf1d1a;">&quot;&amp;bull;&amp;bull;&amp;bull;&amp;bull;&amp;bull;&amp;bull;&amp;bull;&amp;bull;&quot;</span>;
&nbsp;
$twitter <span style="color: #002200;">=</span> new Twitter<span style="color: #002200;">&#40;</span>$username, $password<span style="color: #002200;">&#41;</span>;
&nbsp;
$options <span style="color: #002200;">=</span> array<span style="color: #002200;">&#40;</span>
	<span style="color: #bf1d1a;">&quot;profile_background_color&quot;</span> <span style="color: #002200;">=</span>&gt; <span style="color: #bf1d1a;">&quot;fff&quot;</span>,
	<span style="color: #bf1d1a;">&quot;profile_text_color&quot;</span> <span style="color: #002200;">=</span>&gt; <span style="color: #bf1d1a;">&quot;fff&quot;</span>,
	<span style="color: #bf1d1a;">&quot;profile_link_color&quot;</span> <span style="color: #002200;">=</span>&gt; <span style="color: #bf1d1a;">&quot;fff&quot;</span>,
	<span style="color: #bf1d1a;">&quot;profile_sidebar_fill_color&quot;</span> <span style="color: #002200;">=</span>&gt; <span style="color: #bf1d1a;">&quot;fff&quot;</span>,
	<span style="color: #bf1d1a;">&quot;profile_sidebar_border_color&quot;</span> <span style="color: #002200;">=</span>&gt; <span style="color: #bf1d1a;">&quot;fff&quot;</span>
<span style="color: #002200;">&#41;</span>;
&nbsp;
$update_response <span style="color: #002200;">=</span> $twitter<span style="color: #002200;">-</span>&gt;updateProfileColors<span style="color: #002200;">&#40;</span>$options<span style="color: #002200;">&#41;</span>;
print_r<span style="color: #002200;">&#40;</span>$update_response<span style="color: #002200;">&#41;</span>;</pre></div></div>

<p>Nice, isn&#8217;t it?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trembl.org/codec/319/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Curling Images at Twitter</title>
		<link>http://www.trembl.org/codec/175/</link>
		<comments>http://www.trembl.org/codec/175/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 08:15:18 +0000</pubDate>
		<dc:creator>Georg Tremmel</dc:creator>
				<category><![CDATA[Raw]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[max]]></category>
		<category><![CDATA[msp]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.trembl.org/codec/?p=175</guid>
		<description><![CDATA[curl -F &#8216;image=@test.png;type=image/png&#8217; -H &#8216;Expect:&#8217; -u username:password http://twitter.com/account/update_profile_background_image.xml hmm nice. the logical thing to do. instead of text messages, send images&#8230; update: turning tiling on. curl -F &#8216;image=@test.png;type=image/png&#8217; -F &#8217;tile=true&#8217; -H &#8216;Expect:&#8217; -u username:password http://twitter.com/account/update_profile_background_image.xml second -F flag creates second form field. update: same applies to user profile image curl -F &#8216;image=@icon.png;type=image/png&#8217; -H &#8216;Expect:&#8217; -u [...]]]></description>
			<content:encoded><![CDATA[<p>curl -F &#8216;image=@test.png;type=image/png&#8217; -H &#8216;Expect:&#8217; -u username:password http://twitter.com/account/update_profile_background_image.xml</p>
<p>hmm nice.</p>
<p>the logical thing to do.</p>
<p>instead of text messages, send images&#8230;</p>
<p><em>update</em>: turning tiling on.<br />
curl -F &#8216;image=@test.png;type=image/png&#8217; -<strong>F &#8217;tile=true&#8217;</strong> -H &#8216;Expect:&#8217; -u username:password http://twitter.com/account/update_profile_background_image.xml</p>
<p>second -F flag creates second form field.</p>
<p><em>update</em>: same applies to user profile image<br />
curl -F &#8216;image=@icon.png;type=image/png&#8217; -H &#8216;Expect:&#8217; -u username:password http://twitter.com/account/update_profile_image.xml</p>
<p><em>update</em>: absolute image paths<br />
curl -F &#8216;image=@<strong>/Users/x/Desktop/</strong>icon.png;type=image/png&#8217; -H &#8216;Expect:&#8217; -u username:password http://twitter.com/account/update_profile_image.xml</p>
<p>there seems to be a bug in the max <em>shell</em> object, preventing <em>cd</em> to work. it also does not like relative paths (~)&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trembl.org/codec/175/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

