<?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: OAuth extension to CakePHP HttpSocket</title>
	<atom:link href="http://www.neilcrookes.com/2010/04/12/cakephp-oauth-extension-to-httpsocket/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.neilcrookes.com/2010/04/12/cakephp-oauth-extension-to-httpsocket/</link>
	<description>Learnings and Teachings on Web Application Development &#38; CakePHP</description>
	<lastBuildDate>Fri, 03 Feb 2012 19:44:06 +0100</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Eslam Mahmoud</title>
		<link>http://www.neilcrookes.com/2010/04/12/cakephp-oauth-extension-to-httpsocket/comment-page-1/#comment-18260</link>
		<dc:creator>Eslam Mahmoud</dc:creator>
		<pubDate>Mon, 21 Nov 2011 09:16:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=203#comment-18260</guid>
		<description>thank you it was very helpful :)</description>
		<content:encoded><![CDATA[<p>thank you it was very helpful :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris</title>
		<link>http://www.neilcrookes.com/2010/04/12/cakephp-oauth-extension-to-httpsocket/comment-page-1/#comment-16266</link>
		<dc:creator>Kris</dc:creator>
		<pubDate>Tue, 13 Sep 2011 01:37:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=203#comment-16266</guid>
		<description>Thank you, I was able to get the Hello World example working.

I am new to OAuth and web services in general, I hope you don&#039;t mind some beginner questions.

When I go to twitter_connect I am of course redirected to api.twitter.com where I have to click to approve my app and then I get my oauth_token and oauth_verifier at my callback.

First question, it seems these two values are only good for posting my one Hello World tweet, is that correct?  So, I need to go to twitter_connect and manually click approve for each tweet, right?  My question is, how does this become automated or how can I always approve the app, basically get rid of that human click so my app is free to tweet away?

Thanks.</description>
		<content:encoded><![CDATA[<p>Thank you, I was able to get the Hello World example working.</p>
<p>I am new to OAuth and web services in general, I hope you don&#8217;t mind some beginner questions.</p>
<p>When I go to twitter_connect I am of course redirected to api.twitter.com where I have to click to approve my app and then I get my oauth_token and oauth_verifier at my callback.</p>
<p>First question, it seems these two values are only good for posting my one Hello World tweet, is that correct?  So, I need to go to twitter_connect and manually click approve for each tweet, right?  My question is, how does this become automated or how can I always approve the app, basically get rid of that human click so my app is free to tweet away?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil Crookes &#8212; Several great CakePHP Plugins (high quality)! &#124; MKfmn &#124; Matt Kaufman</title>
		<link>http://www.neilcrookes.com/2010/04/12/cakephp-oauth-extension-to-httpsocket/comment-page-1/#comment-15149</link>
		<dc:creator>Neil Crookes &#8212; Several great CakePHP Plugins (high quality)! &#124; MKfmn &#124; Matt Kaufman</dc:creator>
		<pubDate>Sat, 23 Jul 2011 15:53:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=203#comment-15149</guid>
		<description>[...] OAuth extension to CakePHP HttpSocket [...]</description>
		<content:encoded><![CDATA[<p>[...] OAuth extension to CakePHP HttpSocket [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajax</title>
		<link>http://www.neilcrookes.com/2010/04/12/cakephp-oauth-extension-to-httpsocket/comment-page-1/#comment-15117</link>
		<dc:creator>Ajax</dc:creator>
		<pubDate>Fri, 22 Jul 2011 16:19:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=203#comment-15117</guid>
		<description>Hi everyone,

Brand new to CakePHP. Just walked through the blog and auth tutorials without any issues. I want to get basic Twitter OAuth working on a brand new CakePHP app and am having some serious issues.

I downloaded Neil&#039;s plugin from here:

https://github.com/neilcrookes/CakePHP-Twitter-API-Plugin

And applied it here:

/app/plugins/twitter

Now what? How do add the &quot;connect to Twitter&quot; link on every page? What is the Twitter callback URL going to point to? How do I check whether or not a user has been connected, access user&#039;s information?

Appreciate your help!

Thanks</description>
		<content:encoded><![CDATA[<p>Hi everyone,</p>
<p>Brand new to CakePHP. Just walked through the blog and auth tutorials without any issues. I want to get basic Twitter OAuth working on a brand new CakePHP app and am having some serious issues.</p>
<p>I downloaded Neil&#8217;s plugin from here:</p>
<p><a href="https://github.com/neilcrookes/CakePHP-Twitter-API-Plugin" rel="nofollow">https://github.com/neilcrookes/CakePHP-Twitter-API-Plugin</a></p>
<p>And applied it here:</p>
<p>/app/plugins/twitter</p>
<p>Now what? How do add the &#8220;connect to Twitter&#8221; link on every page? What is the Twitter callback URL going to point to? How do I check whether or not a user has been connected, access user&#8217;s information?</p>
<p>Appreciate your help!</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav Toshniwal</title>
		<link>http://www.neilcrookes.com/2010/04/12/cakephp-oauth-extension-to-httpsocket/comment-page-1/#comment-13561</link>
		<dc:creator>Gaurav Toshniwal</dc:creator>
		<pubDate>Tue, 17 May 2011 12:27:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=203#comment-13561</guid>
		<description>My request looks like:
I have the oauth_token and oauth_token_secret from the previous request from the user
Array ( [method] =&gt; POST [uri] =&gt; Array ( [host] =&gt; api.twitter.com [path] =&gt; 1/statuses/update.json ) [auth] =&gt; Array ( [method] =&gt; OAuth [oauth_token] =&gt; xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [oauth_token_secret] =&gt; xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [oauth_consumer_key] =&gt; xxxxxxxxxxxxxxxxxxxxxxxxx [oauth_consumer_secret] =&gt; xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ) [body] =&gt; Array ( [status] =&gt; Hello World ) ) 
response looks like {&quot;request&quot;:&quot;\/1\/statuses\/update.json&quot;,&quot;error&quot;:&quot;Incorrect signature&quot;}</description>
		<content:encoded><![CDATA[<p>My request looks like:<br />
I have the oauth_token and oauth_token_secret from the previous request from the user<br />
Array ( [method] =&gt; POST [uri] =&gt; Array ( [host] =&gt; api.twitter.com [path] =&gt; 1/statuses/update.json ) [auth] =&gt; Array ( [method] =&gt; OAuth [oauth_token] =&gt; xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [oauth_token_secret] =&gt; xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [oauth_consumer_key] =&gt; xxxxxxxxxxxxxxxxxxxxxxxxx [oauth_consumer_secret] =&gt; xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ) [body] =&gt; Array ( [status] =&gt; Hello World ) )<br />
response looks like {&#8220;request&#8221;:&#8221;\/1\/statuses\/update.json&#8221;,&#8221;error&#8221;:&#8221;Incorrect signature&#8221;}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurav Toshniwal</title>
		<link>http://www.neilcrookes.com/2010/04/12/cakephp-oauth-extension-to-httpsocket/comment-page-1/#comment-13560</link>
		<dc:creator>Gaurav Toshniwal</dc:creator>
		<pubDate>Tue, 17 May 2011 11:48:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=203#comment-13560</guid>
		<description>{&quot;request&quot;:&quot;\/1\/statuses\/update.json&quot;,&quot;error&quot;:&quot;Incorrect signature&quot;}

This is the error i&#039;m getting , even when I&#039;m using method=&gt;POST</description>
		<content:encoded><![CDATA[<p>{&#8220;request&#8221;:&#8221;\/1\/statuses\/update.json&#8221;,&#8221;error&#8221;:&#8221;Incorrect signature&#8221;}</p>
<p>This is the error i&#8217;m getting , even when I&#8217;m using method=&gt;POST</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: talisker</title>
		<link>http://www.neilcrookes.com/2010/04/12/cakephp-oauth-extension-to-httpsocket/comment-page-1/#comment-12976</link>
		<dc:creator>talisker</dc:creator>
		<pubDate>Fri, 22 Apr 2011 17:06:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=203#comment-12976</guid>
		<description>amazing!!!!
works perfectly... many thanks mate! :)</description>
		<content:encoded><![CDATA[<p>amazing!!!!<br />
works perfectly&#8230; many thanks mate! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Genk1</title>
		<link>http://www.neilcrookes.com/2010/04/12/cakephp-oauth-extension-to-httpsocket/comment-page-1/#comment-12649</link>
		<dc:creator>Genk1</dc:creator>
		<pubDate>Mon, 11 Apr 2011 15:31:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=203#comment-12649</guid>
		<description>Thank you so much, it was very useful to me..

Amine from Morocco !</description>
		<content:encoded><![CDATA[<p>Thank you so much, it was very useful to me..</p>
<p>Amine from Morocco !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Paric</title>
		<link>http://www.neilcrookes.com/2010/04/12/cakephp-oauth-extension-to-httpsocket/comment-page-1/#comment-12442</link>
		<dc:creator>Michael Paric</dc:creator>
		<pubDate>Sat, 02 Apr 2011 08:24:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=203#comment-12442</guid>
		<description>As Jeff Spicoli would say; &quot;Awesome, totally awesome!&quot; I was able to follow Facebook&#039;s API but got totally turned around on Twitter. Thanks for the great work.</description>
		<content:encoded><![CDATA[<p>As Jeff Spicoli would say; &#8220;Awesome, totally awesome!&#8221; I was able to follow Facebook&#8217;s API but got totally turned around on Twitter. Thanks for the great work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admun</title>
		<link>http://www.neilcrookes.com/2010/04/12/cakephp-oauth-extension-to-httpsocket/comment-page-1/#comment-12070</link>
		<dc:creator>admun</dc:creator>
		<pubDate>Thu, 17 Mar 2011 00:54:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilcrookes.com/?p=203#comment-12070</guid>
		<description>Thanks for the extension! It&#039;s very easy to use.

However, I am having one problem using this with Youtube; I am able to get the request token. But when trying to get access token in the request token callback function, it failed with an &quot;invalid signature&quot; (via HTTP GET).

My code do something like this:
...
...
                $Http = new HttpSocketOauth();
                $request = array(
                        &#039;uri&#039; =&gt; array(
                                &#039;scheme&#039; =&gt; &#039;https&#039;,
                                &#039;host&#039; =&gt; &#039;www.google.com&#039;,
                                &#039;path&#039; =&gt; &#039;/accounts/OAuthGetAccessToken&#039;,
                                &#039;query&#039; =&gt; array(
                                        &#039;scope&#039; =&gt; &#039;http://gdata.youtube.com&#039;
                                )
                        ),
                        &#039;method&#039; =&gt; &#039;GET&#039;,
                        &#039;auth&#039; =&gt; array(
                                &#039;method&#039; =&gt; &#039;OAuth&#039;,
                                &#039;oauth_consumer_key&#039; =&gt; Configure::read(&#039;oauth_key&#039;),
                                &#039;oauth_consumer_secret&#039; =&gt; Configure::read(&#039;oauth_secret&#039;),
                                &#039;oauth_token&#039; =&gt; $this-&gt;params[&#039;url&#039;][&#039;oauth_token&#039;]
                        )
                );
                $response = $Http-&gt;request($request);

I looked at the YT doc but the code seems right to me. Any suggestion?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Thanks for the extension! It&#8217;s very easy to use.</p>
<p>However, I am having one problem using this with Youtube; I am able to get the request token. But when trying to get access token in the request token callback function, it failed with an &#8220;invalid signature&#8221; (via HTTP GET).</p>
<p>My code do something like this:<br />
&#8230;<br />
&#8230;<br />
                $Http = new HttpSocketOauth();<br />
                $request = array(<br />
                        &#8216;uri&#8217; =&gt; array(<br />
                                &#8216;scheme&#8217; =&gt; &#8216;https&#8217;,<br />
                                &#8216;host&#8217; =&gt; &#8216;www.google.com&#8217;,<br />
                                &#8216;path&#8217; =&gt; &#8216;/accounts/OAuthGetAccessToken&#8217;,<br />
                                &#8216;query&#8217; =&gt; array(<br />
                                        &#8216;scope&#8217; =&gt; &#8216;<a href="http://gdata.youtube.com" rel="nofollow">http://gdata.youtube.com</a>&#8216;<br />
                                )<br />
                        ),<br />
                        &#8216;method&#8217; =&gt; &#8216;GET&#8217;,<br />
                        &#8216;auth&#8217; =&gt; array(<br />
                                &#8216;method&#8217; =&gt; &#8216;OAuth&#8217;,<br />
                                &#8216;oauth_consumer_key&#8217; =&gt; Configure::read(&#8216;oauth_key&#8217;),<br />
                                &#8216;oauth_consumer_secret&#8217; =&gt; Configure::read(&#8216;oauth_secret&#8217;),<br />
                                &#8216;oauth_token&#8217; =&gt; $this-&gt;params['url']['oauth_token']<br />
                        )<br />
                );<br />
                $response = $Http-&gt;request($request);</p>
<p>I looked at the YT doc but the code seems right to me. Any suggestion?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

