<?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>Doing &#38; Done &#187; twitter</title>
	<atom:link href="http://doing.liduan.com/tag/twitter/feed/" rel="self" type="application/rss+xml" />
	<link>http://doing.liduan.com</link>
	<description>Record and Store</description>
	<lastBuildDate>Thu, 11 Feb 2010 11:19:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>using python get friend timeline in twit &#8230;</title>
		<link>http://doing.liduan.com/2009/05/01/using-python-get-friend-timeline-in-twit/</link>
		<comments>http://doing.liduan.com/2009/05/01/using-python-get-friend-timeline-in-twit/#comments</comments>
		<pubDate>Fri, 01 May 2009 20:53:37 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/05/01/using-python-get-friend-timeline-in-twit/</guid>
		<description><![CDATA[using python get friend timeline in twitter. following tools should be used:
python-twitter
python-simplejson
first install python-simplejson, if in ubuntu, just using command as follows
$apt-get install python-simplejson
then, downloading python-twitter , unpackage it. then using command
  $ python setup.py build
  $ python setup.py install
then, open python.
&#62;&#62;&#62; import twitter
&#62;&#62;&#62; api = twitter.Api(&#8220;username&#8221;, &#8220;passworld&#8221;)
&#62;&#62;&#62; posts = api.GetFriendsTimeline(&#8216;username&#8217;)
&#62;&#62;&#62; print [post.text in post [...]]]></description>
			<content:encoded><![CDATA[<p>using python get friend timeline in twitter. following tools should be used:</p>
<p><a title="python-twitter" href="http://code.google.com/p/python-twitter/" target="_blank">python-twitter</a></p>
<p>python-simplejson</p>
<p>first install python-simplejson, if in ubuntu, just using command as follows</p>
<p>$apt-get install python-simplejson</p>
<p>then, downloading <a title="python-twitter" href="http://code.google.com/p/python-twitter/" target="_blank">python-twitter</a> , unpackage it. then using command</p>
<pre><span class="pln">  $ python setup</span><span class="pun">.</span><span class="pln">py build
  $ python setup</span><span class="pun">.</span><span class="pln">py install</span></pre>
<p>then, open python.</p>
<p>&gt;&gt;&gt; import twitter</p>
<p>&gt;&gt;&gt; api = twitter.Api(&#8220;username&#8221;, &#8220;passworld&#8221;)</p>
<p>&gt;&gt;&gt; posts = api.GetFriendsTimeline(&#8216;username&#8217;)</p>
<p>&gt;&gt;&gt; print [post.text in post as posts ];</p>
<p>for the file, the script should be liked:<br />
<code><br />
import twitter<br />
class mytwitter():</p>
<p>def __init__(self):<br />
  self._config = None</p>
<p>def main():<br />
  api = twitter.Api('username', 'passworld')<br />
  posts = api.GetFriendsTimeline('username')<br />
  for post in posts:<br />
    print post.text.encode('utf-8')</p>
<p>if __name__ == "__main__":<br />
  main()<br />
</code></p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/05/01/using-python-get-friend-timeline-in-twit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>some java client for twitter: java-twitt &#8230;</title>
		<link>http://doing.liduan.com/2009/04/30/some-java-client-for-twitter-java-twitt/</link>
		<comments>http://doing.liduan.com/2009/04/30/some-java-client-for-twitter-java-twitt/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 13:42:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/04/30/some-java-client-for-twitter-java-twitt/</guid>
		<description><![CDATA[some java client for twitter: java-twitter, jtwitter, twitter4j.]]></description>
			<content:encoded><![CDATA[<p>some java client for twitter: java-twitter, jtwitter, twitter4j.</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/04/30/some-java-client-for-twitter-java-twitt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>post twitter tweet by using PHP script. &#8230;</title>
		<link>http://doing.liduan.com/2009/04/17/post-twitter-tweet-by-using-php-script/</link>
		<comments>http://doing.liduan.com/2009/04/17/post-twitter-tweet-by-using-php-script/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 12:39:22 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/04/17/post-twitter-tweet-by-using-php-script/</guid>
		<description><![CDATA[post twitter tweet by using PHP script.
via curl command in linux, 1 and 2.
Using twitter php client.
official API tutorial.]]></description>
			<content:encoded><![CDATA[<p>post twitter tweet by using PHP script.</p>
<p>via curl command in linux, <a href="http://www.webmaster-source.com/2009/04/05/post-to-twitter-from-a-php-script/" target="_blank">1</a> and <a href="http://morethanseven.net/2007/01/20/posting-to-twitter-using-php/" target="_blank">2</a>.</p>
<p><a href="http://woork.blogspot.com/2007/10/twitter-send-message-from-php-page.html" target="_blank">Using twitter php client</a>.</p>
<p><a href="http://www.newwebplatform.com/tips-and-tutorials/Twitter" target="_blank">official API tutorial</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/04/17/post-twitter-tweet-by-using-php-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
