<?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>Zenovation's Blog &#187; twitter</title>
	<atom:link href="http://zenovations.com/blog/tag/twitter/feed/" rel="self" type="application/rss+xml" />
	<link>http://zenovations.com/blog</link>
	<description>A blog about web design, programming, hosting, and virtualmin hacks</description>
	<lastBuildDate>Mon, 16 Jan 2012 15:01:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>PHP Class for Accessing Twitter API</title>
		<link>http://zenovations.com/blog/2008/09/php-class-for-accessing-twitter-api/</link>
		<comments>http://zenovations.com/blog/2008/09/php-class-for-accessing-twitter-api/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 13:57:01 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://zenovations.com/blog/?p=63</guid>
		<description><![CDATA[I wrote up a quick class for interacting with the twitter API. Right now it returns everything as json, but that would be a five minute project to change out for anyone with m4d sk1&#124;&#124;z0rz. Example usage: Here&#8217;s the function api, which implements most of the commands in the twitter public api: static updateStatus() - update your [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote up a quick class for interacting with the twitter API. Right now it returns everything as json, but that would be a five minute project to change out for anyone with m4d sk1||z0rz.</p>
<p><span id="more-63"></span></p>
<p>Example usage:</p>
<p>Here&#8217;s the function api, which implements most of the commands in the <a href="http://apiwiki.twitter.com/REST+API+Documentation">twitter public api</a>:</p>
<ul>
<li><code>static updateStatus()</code> - update your status on twitter</li>
<li>getUpdates() &#8211; get the last <code>n</code> updates from twitter</li>
<li>getFollowers() &#8211; list your twitter friends (people following you)</li>
<li>getReplies() &#8211; return replies to your posts</li>
<li>getFriends() &#8211; list friends you follow on twitter</li>
<li>sendDirectMessage() &#8211; direct message a friend</li>
<li>etDirectMessages() &#8211; download your direct messages</li>
</ul>
<p>You&#8217;ll want to be sure to set $url_referer to something useful, so you can <a href="http://twitter.com/help/request_source">set the from text</a> for twitter (login required on twitter).</p>
<p>Here&#8217;s the whole <a href="http://zenovations.com/blog/TwitterUtils.phps">TwitterUtils.php</a> class, enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://zenovations.com/blog/2008/09/php-class-for-accessing-twitter-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

