<?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: Writing Your First Twitter Application with OAuth</title>
	<atom:link href="http://www.snipe.net/2009/07/writing-your-first-twitter-application-with-oauth/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.snipe.net/2009/07/writing-your-first-twitter-application-with-oauth/</link>
	<description>Bitterness never tasted so sweet</description>
	<lastBuildDate>Sat, 20 Mar 2010 00:14:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: snipe</title>
		<link>http://www.snipe.net/2009/07/writing-your-first-twitter-application-with-oauth/comment-page-3/#comment-8268</link>
		<dc:creator>snipe</dc:creator>
		<pubDate>Sat, 13 Mar 2010 06:56:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.snipe.net/?p=2070#comment-8268</guid>
		<description>Pete - that&#039;s been posted in the comments several times now. If time is precious, you might have checked there first ;)</description>
		<content:encoded><![CDATA[<p>Pete &#8211; that&#39;s been posted in the comments several times now. If time is precious, you might have checked there first <img src='http://www.snipe.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete</title>
		<link>http://www.snipe.net/2009/07/writing-your-first-twitter-application-with-oauth/comment-page-3/#comment-8267</link>
		<dc:creator>Pete</dc:creator>
		<pubDate>Sat, 13 Mar 2010 03:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.snipe.net/?p=2070#comment-8267</guid>
		<description>helpful article, thanks, but&lt;br&gt;&lt;br&gt;you gotta fix this line:&lt;br&gt;$content = $to-&gt;OAuthRequest(&#039;https://twitter.com/account/verify_credentials.xml&#039;, array(), &#039;GET&#039;);&lt;br&gt;should be:&lt;br&gt;$content = $to-&gt;OAuthRequest(&#039;https://twitter.com/account/verify_credentials.xml&#039;, GET, array());&lt;br&gt;&lt;br&gt;time is precious&lt;br&gt;thanks</description>
		<content:encoded><![CDATA[<p>helpful article, thanks, but</p>
<p>you gotta fix this line:<br />$content = $to-&gt;OAuthRequest(&#39;https://twitter.com/account/verify_credentials.xml&#39;, array(), &#39;GET&#39;);<br />should be:<br />$content = $to-&gt;OAuthRequest(&#39;https://twitter.com/account/verify_credentials.xml&#39;, GET, array());</p>
<p>time is precious<br />thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neocambell</title>
		<link>http://www.snipe.net/2009/07/writing-your-first-twitter-application-with-oauth/comment-page-3/#comment-8162</link>
		<dc:creator>neocambell</dc:creator>
		<pubDate>Tue, 16 Feb 2010 01:45:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.snipe.net/?p=2070#comment-8162</guid>
		<description>Wonderful. This is the best artcile I found about oAuth for twitter. Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Wonderful. This is the best artcile I found about oAuth for twitter. Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: snipe</title>
		<link>http://www.snipe.net/2009/07/writing-your-first-twitter-application-with-oauth/comment-page-2/#comment-8164</link>
		<dc:creator>snipe</dc:creator>
		<pubDate>Sun, 07 Feb 2010 22:09:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.snipe.net/?p=2070#comment-8164</guid>
		<description>Are you using the new OAuth library or the old one? This code hasn&#039;t ben updated for Abraham&#039;s most recent library release.</description>
		<content:encoded><![CDATA[<p>Are you using the new OAuth library or the old one? This code hasn&#39;t ben updated for Abraham&#39;s most recent library release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterson</title>
		<link>http://www.snipe.net/2009/07/writing-your-first-twitter-application-with-oauth/comment-page-2/#comment-8163</link>
		<dc:creator>peterson</dc:creator>
		<pubDate>Sun, 07 Feb 2010 12:14:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.snipe.net/?p=2070#comment-8163</guid>
		<description>Figured out the logout issue - you have to change your code in index.php (line 29 in your snippet) to:&lt;br&gt;&lt;br&gt;$request_link = $to-&gt;getAuthorizeURL($tok, !isset($_SESSION[&#039;oauth_access_token&#039;]));&lt;br&gt;&lt;br&gt;The second parameter is what determines if the user has logged out or still has the access token in the session - otherwise clearing the session does nothing since the second parameter in getAuthorize URL is TRUE by default.  This might be helpful for others.</description>
		<content:encoded><![CDATA[<p>Figured out the logout issue &#8211; you have to change your code in index.php (line 29 in your snippet) to:</p>
<p>$request_link = $to-&gt;getAuthorizeURL($tok, !isset($_SESSION[&#39;oauth_access_token&#39;]));</p>
<p>The second parameter is what determines if the user has logged out or still has the access token in the session &#8211; otherwise clearing the session does nothing since the second parameter in getAuthorize URL is TRUE by default.  This might be helpful for others.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterson</title>
		<link>http://www.snipe.net/2009/07/writing-your-first-twitter-application-with-oauth/comment-page-2/#comment-8165</link>
		<dc:creator>peterson</dc:creator>
		<pubDate>Sun, 07 Feb 2010 12:05:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.snipe.net/?p=2070#comment-8165</guid>
		<description>Thanks for the tutorial, this is really helping me get things started.&lt;br&gt;&lt;br&gt;one problem though, the Logout link is not working.  when I logout, then click login again it bypasses the login screen and shows callback.php again with my previous login info.  any ideas?  Is session_destroy() and session_unset() all that is required to logout?</description>
		<content:encoded><![CDATA[<p>Thanks for the tutorial, this is really helping me get things started.</p>
<p>one problem though, the Logout link is not working.  when I logout, then click login again it bypasses the login screen and shows callback.php again with my previous login info.  any ideas?  Is session_destroy() and session_unset() all that is required to logout?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lucarocchi</title>
		<link>http://www.snipe.net/2009/07/writing-your-first-twitter-application-with-oauth/comment-page-2/#comment-8167</link>
		<dc:creator>lucarocchi</dc:creator>
		<pubDate>Tue, 02 Feb 2010 22:46:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.snipe.net/?p=2070#comment-8167</guid>
		<description>thx now it is even more clear ... i just realize  that similar message  was  posted more than once before</description>
		<content:encoded><![CDATA[<p>thx now it is even more clear &#8230; i just realize  that similar message  was  posted more than once before</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: snipe</title>
		<link>http://www.snipe.net/2009/07/writing-your-first-twitter-application-with-oauth/comment-page-2/#comment-8166</link>
		<dc:creator>snipe</dc:creator>
		<pubDate>Tue, 02 Feb 2010 22:30:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.snipe.net/?p=2070#comment-8166</guid>
		<description>This tutorial is based on an earlier version of the library.</description>
		<content:encoded><![CDATA[<p>This tutorial is based on an earlier version of the library.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lucarocchi</title>
		<link>http://www.snipe.net/2009/07/writing-your-first-twitter-application-with-oauth/comment-page-2/#comment-8049</link>
		<dc:creator>lucarocchi</dc:creator>
		<pubDate>Tue, 02 Feb 2010 22:28:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.snipe.net/?p=2070#comment-8049</guid>
		<description>it seems that params order in your code snippet is swapped &lt;br&gt;&lt;br&gt;$to-&gt;OAuthRequest(&#039;https://twitter.com/statuses/update.xml&#039;, array(&#039;status&#039; =&gt; &#039;Test OAuth update. #testoauth&#039;), &#039;POST&#039;)&lt;br&gt;&lt;br&gt;while twitteroauth.php states&lt;br&gt; function oAuthRequest($url, $method, $parameters) {&lt;br&gt;&lt;br&gt;Thx for the great tutorial</description>
		<content:encoded><![CDATA[<p>it seems that params order in your code snippet is swapped </p>
<p>$to-&gt;OAuthRequest(&#39;https://twitter.com/statuses/update.xml&#39;, array(&#39;status&#39; =&gt; &#39;Test OAuth update. #testoauth&#39;), &#39;POST&#39;)</p>
<p>while twitteroauth.php states<br /> function oAuthRequest($url, $method, $parameters) {</p>
<p>Thx for the great tutorial</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: adoption curve dot net &#187; Blog Archive &#187; links for 2010-01-27</title>
		<link>http://www.snipe.net/2009/07/writing-your-first-twitter-application-with-oauth/comment-page-2/#comment-7993</link>
		<dc:creator>adoption curve dot net &#187; Blog Archive &#187; links for 2010-01-27</dc:creator>
		<pubDate>Thu, 28 Jan 2010 00:05:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.snipe.net/?p=2070#comment-7993</guid>
		<description>[...] Writing Your First Twitter Application with OAuth &#124; Snipe.Net &quot;Using OAuth allows you to write applications that access the Twitter API but do not require your users to give you their Twitter username and password&quot; Plain English explanation of OAuth in a Twitter context. [...]</description>
		<content:encoded><![CDATA[<p>[...] Writing Your First Twitter Application with OAuth | Snipe.Net &quot;Using OAuth allows you to write applications that access the Twitter API but do not require your users to give you their Twitter username and password&quot; Plain English explanation of OAuth in a Twitter context. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
