<?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: Zend, Twitter, and OAuth Made Easy</title>
	<atom:link href="http://www.raymondkolbe.com/2009/10/03/zend-twitter-and-oauth-made-easy/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.raymondkolbe.com/2009/10/03/zend-twitter-and-oauth-made-easy/</link>
	<description>Code, cars, and beer...</description>
	<lastBuildDate>Fri, 12 Mar 2010 23:26:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mandi</title>
		<link>http://www.raymondkolbe.com/2009/10/03/zend-twitter-and-oauth-made-easy/comment-page-1/#comment-1350</link>
		<dc:creator>Mandi</dc:creator>
		<pubDate>Sat, 20 Feb 2010 22:50:37 +0000</pubDate>
		<guid isPermaLink="false">http://white-box.us/?p=398#comment-1350</guid>
		<description>Thank you for a great article! It works like a flow, even better than the documentation on ZF</description>
		<content:encoded><![CDATA[<p>Thank you for a great article! It works like a flow, even better than the documentation on ZF</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.raymondkolbe.com/2009/10/03/zend-twitter-and-oauth-made-easy/comment-page-1/#comment-469</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 05 Dec 2009 02:51:42 +0000</pubDate>
		<guid isPermaLink="false">http://white-box.us/?p=398#comment-469</guid>
		<description>Hrm. I am actually doing the same thing--serializing and saving to a SQLite DB. I guess I would need a little more information as to what is not working for you. Are you receiving an error of any sort? When you unserialize, are you able to work with your object?
I have a script that I run, triggered by CRON, that allows me to do things to a user&#039;s account in the background (e.g. read large amounts of data over time). Basically I just do this to get Twitter and OAuth to work in the script:
&lt;?php
/** Query for user account from the DB **/
$accessToken = unserialize($user-&gt;access_token);
$httpClient = $accessToken-&gt;getHttpClient($config-&gt;oauth);
Zend_Service_Twitter::setHttpClient($httpClient);
$twitter = new Zend_Service_Twitter(null, null);
/** Now we can use the Twitter client **/
Let me know if that helps. If not, maybe we can take this to e-mail or IM for a longer discussion ;-)</description>
		<content:encoded><![CDATA[<p>Hrm. I am actually doing the same thing&#8211;serializing and saving to a SQLite DB. I guess I would need a little more information as to what is not working for you. Are you receiving an error of any sort? When you unserialize, are you able to work with your object?</p>
<p>I have a script that I run, triggered by CRON, that allows me to do things to a user&#8217;s account in the background (e.g. read large amounts of data over time). Basically I just do this to get Twitter and OAuth to work in the script:</p>
<p>< ?php<br />
/** Query for user account from the DB **/</p>
<p>$accessToken = unserialize($user->access_token);<br />
$httpClient = $accessToken->getHttpClient($config->oauth);<br />
Zend_Service_Twitter::setHttpClient($httpClient);<br />
$twitter = new Zend_Service_Twitter(null, null);</p>
<p>/** Now we can use the Twitter client **/</p>
<p>Let me know if that helps. If not, maybe we can take this to e-mail or IM for a longer discussion <img src='http://www.raymondkolbe.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: boris</title>
		<link>http://www.raymondkolbe.com/2009/10/03/zend-twitter-and-oauth-made-easy/comment-page-1/#comment-464</link>
		<dc:creator>boris</dc:creator>
		<pubDate>Fri, 04 Dec 2009 12:24:48 +0000</pubDate>
		<guid isPermaLink="false">http://white-box.us/?p=398#comment-464</guid>
		<description>Hi, thanx for the code that helps me a lot :). But I still have a problem (big time) with my application and maybe you have a simple solution... I&#039;m trying to store the access_token in mysql to re use it the next time the user came (and log with my app, same as seesmic web for exemple) but I didn&#039;t succeed, I try to serialize, unserialize but that doesn&#039;t work.. any idea? thanx again</description>
		<content:encoded><![CDATA[<p>Hi, thanx for the code that helps me a lot <img src='http://www.raymondkolbe.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . But I still have a problem (big time) with my application and maybe you have a simple solution&#8230; I&#8217;m trying to store the access_token in mysql to re use it the next time the user came (and log with my app, same as seesmic web for exemple) but I didn&#8217;t succeed, I try to serialize, unserialize but that doesn&#8217;t work.. any idea? thanx again</p>
]]></content:encoded>
	</item>
</channel>
</rss>
