<?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: How to use Foursquare API with OAuth and PHP</title>
	<atom:link href="http://andrewmager.com/how-to-use-foursquare-api-with-oauth-and-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewmager.com/how-to-use-foursquare-api-with-oauth-and-php/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 05 Mar 2010 14:26:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris Castiglione </title>
		<link>http://andrewmager.com/how-to-use-foursquare-api-with-oauth-and-php/comment-page-1/#comment-111046</link>
		<dc:creator>Chris Castiglione </dc:creator>
		<pubDate>Tue, 19 Jan 2010 11:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://andrewmager.com/?p=499#comment-111046</guid>
		<description>Any chance you could post the source code for the sample API app?&lt;br&gt;&lt;br&gt;And on a side note... Im curious which Wordpress plugins you are using on this site. I really like the way you display PHP code, and I like this commenting system (with the rollovers etc). &lt;br&gt;&lt;br&gt;Thanks for all the great work!</description>
		<content:encoded><![CDATA[<p>Any chance you could post the source code for the sample API app?</p>
<p>And on a side note&#8230; Im curious which Wordpress plugins you are using on this site. I really like the way you display PHP code, and I like this commenting system (with the rollovers etc). </p>
<p>Thanks for all the great work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Castiglione</title>
		<link>http://andrewmager.com/how-to-use-foursquare-api-with-oauth-and-php/comment-page-1/#comment-110954</link>
		<dc:creator>Chris Castiglione</dc:creator>
		<pubDate>Tue, 19 Jan 2010 05:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://andrewmager.com/?p=499#comment-110954</guid>
		<description>Any chance you could post the source code for the sample API app?&lt;br&gt;&lt;br&gt;And on a side note... Im curious which Wordpress plugins you are using on this site. I really like the way you display PHP code, and I like this commenting system (with the rollovers etc). &lt;br&gt;&lt;br&gt;Thanks for all the great work!</description>
		<content:encoded><![CDATA[<p>Any chance you could post the source code for the sample API app?</p>
<p>And on a side note&#8230; Im curious which Wordpress plugins you are using on this site. I really like the way you display PHP code, and I like this commenting system (with the rollovers etc). </p>
<p>Thanks for all the great work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joesiewert</title>
		<link>http://andrewmager.com/how-to-use-foursquare-api-with-oauth-and-php/comment-page-1/#comment-110920</link>
		<dc:creator>joesiewert</dc:creator>
		<pubDate>Fri, 15 Jan 2010 19:12:39 +0000</pubDate>
		<guid isPermaLink="false">http://andrewmager.com/?p=499#comment-110920</guid>
		<description>Thanks for the post Andrew.  Very helpful.  I&#039;m getting stuck on the access token part.&lt;br&gt;&lt;br&gt;I call requestAccessToken and it doesn&#039;t give an error, but doesn&#039;t update the token values in the oauth_consumer_token table.  Then when I try to send a signed request it doesn&#039;t find any &quot;access&quot; tokens available to send. &quot;&#039;No server tokens available&quot; is the error.  Not sure why it&#039;s not updating the table with the access values.  Anyone else run into this? &lt;br&gt;&lt;br&gt;    OAuthRequester::requestAccessToken($consumer_key, $oauth_token, $user_id);</description>
		<content:encoded><![CDATA[<p>Thanks for the post Andrew.  Very helpful.  I&#39;m getting stuck on the access token part.</p>
<p>I call requestAccessToken and it doesn&#39;t give an error, but doesn&#39;t update the token values in the oauth_consumer_token table.  Then when I try to send a signed request it doesn&#39;t find any &#8220;access&#8221; tokens available to send. &#8220;&#39;No server tokens available&#8221; is the error.  Not sure why it&#39;s not updating the table with the access values.  Anyone else run into this? </p>
<p>    OAuthRequester::requestAccessToken($consumer_key, $oauth_token, $user_id);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://andrewmager.com/how-to-use-foursquare-api-with-oauth-and-php/comment-page-1/#comment-110810</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 03 Dec 2009 21:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://andrewmager.com/?p=499#comment-110810</guid>
		<description>i&#039;m an idiot. got it working...&lt;br&gt;&lt;br&gt;            $server = array(&lt;br&gt;                &#039;consumer_key&#039;          =&gt; $key,&lt;br&gt;                &#039;consumer_secret&#039;       =&gt; $secret,&lt;br&gt;                &#039;server_uri&#039;            =&gt; &#039;foursquare.com/&#039;,&lt;br&gt;                &#039;ocr_server_uri&#039;        =&gt; &#039;http://api.foursquare.com/&#039;,&lt;br&gt;                &#039;ocr_server_uri_host&#039;   =&gt; &#039;api.foursquare.com&#039;,&lt;br&gt;                &#039;ocr_server_path&#039;       =&gt; &#039;/&#039;,&lt;br&gt;                &#039;signature_methods&#039;     =&gt; array(&#039;HMAC-SHA1&#039;, &#039;PLAINTEXT&#039;),&lt;br&gt;                &#039;request_token_uri&#039;     =&gt; &#039;http://foursquare.com/oauth/request_token&#039;,&lt;br&gt;                &#039;authorize_uri&#039;         =&gt; &#039;http://foursquare.com/oauth/authorize&#039;,&lt;br&gt;                &#039;access_token_uri&#039;      =&gt; &#039;http://foursquare.com/oauth/access_token&#039;&lt;br&gt;            );</description>
		<content:encoded><![CDATA[<p>i&#39;m an idiot. got it working&#8230;</p>
<p>            $server = array(<br />                &#39;consumer_key&#39;          =&gt; $key,<br />                &#39;consumer_secret&#39;       =&gt; $secret,<br />                &#39;server_uri&#39;            =&gt; &#39;foursquare.com/&#39;,<br />                &#39;ocr_server_uri&#39;        =&gt; &#39;http://api.foursquare.com/&#39;,<br />                &#39;ocr_server_uri_host&#39;   =&gt; &#39;api.foursquare.com&#39;,<br />                &#39;ocr_server_path&#39;       =&gt; &#39;/&#39;,<br />                &#39;signature_methods&#39;     =&gt; array(&#39;HMAC-SHA1&#39;, &#39;PLAINTEXT&#39;),<br />                &#39;request_token_uri&#39;     =&gt; &#39;http://foursquare.com/oauth/request_token&#39;,<br />                &#39;authorize_uri&#39;         =&gt; &#39;http://foursquare.com/oauth/authorize&#39;,<br />                &#39;access_token_uri&#39;      =&gt; &#39;http://foursquare.com/oauth/access_token&#39;<br />            );</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://andrewmager.com/how-to-use-foursquare-api-with-oauth-and-php/comment-page-1/#comment-110809</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 03 Dec 2009 21:08:17 +0000</pubDate>
		<guid isPermaLink="false">http://andrewmager.com/?p=499#comment-110809</guid>
		<description>great post and very timely. i&#039;ve followed your steps, but when i request a token i get a 301 response. any idea why?&lt;br&gt;&lt;br&gt;OAuthException: Unexpected result from the server &quot;http://playfoursquare.com/oauth/request_token&quot; (301) while requesting a request token in api/oauth/OAuthRequester.php on line 169&lt;br&gt;&lt;br&gt;printing out that line i get:&lt;br&gt;    [code] =&gt; 301&lt;br&gt;    [headers] =&gt; Array&lt;br&gt;        (&lt;br&gt;            [server] =&gt; nginx/0.7.64&lt;br&gt;            [date] =&gt; Thu, 03 Dec 2009 22:02:47 GMT&lt;br&gt;            [content-type] =&gt; text/html&lt;br&gt;            [content-length] =&gt; 185&lt;br&gt;            [connection] =&gt; keep-alive&lt;br&gt;            [location] =&gt; &lt;a href=&quot;http://foursquare.com/oauth/request_token&quot; rel=&quot;nofollow&quot;&gt;http://foursquare.com/oauth/request_token&lt;/a&gt;&lt;br&gt;        )</description>
		<content:encoded><![CDATA[<p>great post and very timely. i&#39;ve followed your steps, but when i request a token i get a 301 response. any idea why?</p>
<p>OAuthException: Unexpected result from the server &#8220;http://playfoursquare.com/oauth/request_token&#8221; (301) while requesting a request token in api/oauth/OAuthRequester.php on line 169</p>
<p>printing out that line i get:<br />    [code] =&gt; 301<br />    [headers] =&gt; Array<br />        (<br />            [server] =&gt; nginx/0.7.64<br />            [date] =&gt; Thu, 03 Dec 2009 22:02:47 GMT<br />            [content-type] =&gt; text/html<br />            [content-length] =&gt; 185<br />            [connection] =&gt; keep-alive<br />            [location] =&gt; <a href="http://foursquare.com/oauth/request_token" rel="nofollow">http://foursquare.com/oauth/request_token</a><br />        )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Hodsdon</title>
		<link>http://andrewmager.com/how-to-use-foursquare-api-with-oauth-and-php/comment-page-1/#comment-110751</link>
		<dc:creator>Jeff Hodsdon</dc:creator>
		<pubDate>Mon, 16 Nov 2009 20:16:37 +0000</pubDate>
		<guid isPermaLink="false">http://andrewmager.com/?p=499#comment-110751</guid>
		<description>Mager!  I have a PEAR lib out there for OAuth.  I hope it is pretty easy to use.  &lt;a href=&quot;http://pear.php.net/package/HTTP_OAuth&quot; rel=&quot;nofollow&quot;&gt;http://pear.php.net/package/HTTP_OAuth&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Mager!  I have a PEAR lib out there for OAuth.  I hope it is pretty easy to use.  <a href="http://pear.php.net/package/HTTP_OAuth" rel="nofollow">http://pear.php.net/package/HTTP_OAuth</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mager</title>
		<link>http://andrewmager.com/how-to-use-foursquare-api-with-oauth-and-php/comment-page-1/#comment-110742</link>
		<dc:creator>mager</dc:creator>
		<pubDate>Mon, 16 Nov 2009 18:30:38 +0000</pubDate>
		<guid isPermaLink="false">http://andrewmager.com/?p=499#comment-110742</guid>
		<description>This is not the best way to do it.&lt;br&gt;&lt;br&gt;There are other OAuth implementation for PHP out there that you might want to consider.</description>
		<content:encoded><![CDATA[<p>This is not the best way to do it.</p>
<p>There are other OAuth implementation for PHP out there that you might want to consider.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://andrewmager.com/how-to-use-foursquare-api-with-oauth-and-php/comment-page-1/#comment-110720</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Tue, 10 Nov 2009 06:59:29 +0000</pubDate>
		<guid isPermaLink="false">http://andrewmager.com/?p=499#comment-110720</guid>
		<description>Any chance I can get that PW for reading this post? :)</description>
		<content:encoded><![CDATA[<p>Any chance I can get that PW for reading this post? <img src='http://andrewmager.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
