<?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: Using OAuth-enabled APIs with CakePHP</title>
	<atom:link href="http://cakebaker.42dh.com/2008/09/01/using-oauth-enabled-apis-with-cakephp/feed/" rel="self" type="application/rss+xml" />
	<link>http://cakebaker.42dh.com/2008/09/01/using-oauth-enabled-apis-with-cakephp/</link>
	<description>baking cakes with CakePHP</description>
	<lastBuildDate>Tue, 31 Jan 2012 15:12:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2008/09/01/using-oauth-enabled-apis-with-cakephp/comment-page-2/#comment-213692</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Mon, 11 Jul 2011 14:35:21 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=769#comment-213692</guid>
		<description>@Julius: Yes, it still works (at least it is working with the Twitter API). 

Yes, OpenSSL not working could be a reason that the OAuth stuff doesn&#039;t work. Do you get some errors? And what API do you try to use?</description>
		<content:encoded><![CDATA[<p>@Julius: Yes, it still works (at least it is working with the Twitter API). </p>
<p>Yes, OpenSSL not working could be a reason that the OAuth stuff doesn&#8217;t work. Do you get some errors? And what API do you try to use?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julius Hermosura</title>
		<link>http://cakebaker.42dh.com/2008/09/01/using-oauth-enabled-apis-with-cakephp/comment-page-2/#comment-213639</link>
		<dc:creator>Julius Hermosura</dc:creator>
		<pubDate>Mon, 11 Jul 2011 01:51:35 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=769#comment-213639</guid>
		<description>Is this still working today? 
And also my openssl is not working. Is it the problem why I couldn&#039;t make it work?</description>
		<content:encoded><![CDATA[<p>Is this still working today?<br />
And also my openssl is not working. Is it the problem why I couldn&#8217;t make it work?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2008/09/01/using-oauth-enabled-apis-with-cakephp/comment-page-2/#comment-175900</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Mon, 04 Oct 2010 15:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=769#comment-175900</guid>
		<description>@Kamy: No problem, it is good to hear it is working now :)</description>
		<content:encoded><![CDATA[<p>@Kamy: No problem, it is good to hear it is working now :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kamy</title>
		<link>http://cakebaker.42dh.com/2008/09/01/using-oauth-enabled-apis-with-cakephp/comment-page-2/#comment-175899</link>
		<dc:creator>Kamy</dc:creator>
		<pubDate>Mon, 04 Oct 2010 14:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=769#comment-175899</guid>
		<description>Thanks for your comment. I solved it. Because I forgot enable SSL in php.ini. Sorry !!! I&#039;m very glad for your help. Thank you</description>
		<content:encoded><![CDATA[<p>Thanks for your comment. I solved it. Because I forgot enable SSL in php.ini. Sorry !!! I&#8217;m very glad for your help. Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2008/09/01/using-oauth-enabled-apis-with-cakephp/comment-page-2/#comment-175897</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Mon, 04 Oct 2010 14:43:06 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=769#comment-175897</guid>
		<description>@Kamy: Hm, your code looks ok. Can you add the following snippet after the call to the getRequestToken() method?
&lt;code&gt;
debug($this-&gt;OauthConsumer-&gt;getFullResponse());
exit;
&lt;/code&gt;
What output do you get?</description>
		<content:encoded><![CDATA[<p>@Kamy: Hm, your code looks ok. Can you add the following snippet after the call to the getRequestToken() method?<br />
<pre><code>debug($this-&gt;OauthConsumer-&gt;getFullResponse());
exit;</code></pre><br />
What output do you get?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kamy</title>
		<link>http://cakebaker.42dh.com/2008/09/01/using-oauth-enabled-apis-with-cakephp/comment-page-2/#comment-175773</link>
		<dc:creator>Kamy</dc:creator>
		<pubDate>Sat, 02 Oct 2010 17:28:38 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=769#comment-175773</guid>
		<description>I use this component for twitter and it very good. But when I use it for yahoo, I can&#039;t get requestToken, it always return null. Can you show me the code to use this component for yahoo ? My code here
&lt;code&gt;
function yahoo() {
        $requestUrl = &#039;https://api.login.yahoo.com/oauth/v2/get_request_token&#039;;
        $requestToken = $this-&gt;OauthConsumer-&gt;getRequestToken(&#039;Yahoo&#039;, $requestUrl,&#039;yahoo_callback&#039;);
        
        $this-&gt;Session-&gt;write(&#039;requestToken&#039;, $requestToken);
        $this-&gt;redirect(&#039;https://api.login.yahoo.com/oauth/v2/request_auth?oauth_token=&#039;.$requestToken-&gt;key);
    }
&lt;/code&gt;
$requestToken is always null !!!.

My consumer:
&lt;code&gt; 
&lt;?php
	class YahooConsumer extends AbstractConsumer {
		public function __construct() {
			parent::__construct(YAHOO_API_CONSUMER_KEY, YAHOO_API_CONSUMER_SECRET);
		}
	}	

?&gt;
 &lt;/code&gt;

Thanks for component. It&#039;s very useful !!!</description>
		<content:encoded><![CDATA[<p>I use this component for twitter and it very good. But when I use it for yahoo, I can&#8217;t get requestToken, it always return null. Can you show me the code to use this component for yahoo ? My code here<br />
<pre><code>function yahoo() {
        $requestUrl = 'https://api.login.yahoo.com/oauth/v2/get_request_token';
        $requestToken = $this-&gt;OauthConsumer-&gt;getRequestToken('Yahoo', $requestUrl,'yahoo_callback');
        
        $this-&gt;Session-&gt;write('requestToken', $requestToken);
        $this-&gt;redirect('https://api.login.yahoo.com/oauth/v2/request_auth?oauth_token='.$requestToken-&gt;key);
    }</code></pre><br />
$requestToken is always null !!!.</p>
<p>My consumer:<br />
<pre><code>&lt;?php
	class YahooConsumer extends AbstractConsumer {
		public function __construct() {
			parent::__construct(YAHOO_API_CONSUMER_KEY, YAHOO_API_CONSUMER_SECRET);
		}
	}	

?&gt;</code></pre>
<p>Thanks for component. It&#8217;s very useful !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://cakebaker.42dh.com/2008/09/01/using-oauth-enabled-apis-with-cakephp/comment-page-2/#comment-174688</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Fri, 17 Sep 2010 15:37:16 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=769#comment-174688</guid>
		<description>@cakebaker: Alright, thanks. We are in the US. It would be in the students aup that they have to sign and their parents have to sign before they get an email address. It would only be used if an incident happens like harassment or bullying. Thanks for letting me know that it isn&#039;t what I am looking for.</description>
		<content:encoded><![CDATA[<p>@cakebaker: Alright, thanks. We are in the US. It would be in the students aup that they have to sign and their parents have to sign before they get an email address. It would only be used if an incident happens like harassment or bullying. Thanks for letting me know that it isn&#8217;t what I am looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2008/09/01/using-oauth-enabled-apis-with-cakephp/comment-page-2/#comment-174682</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Fri, 17 Sep 2010 14:21:31 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=769#comment-174682</guid>
		<description>@Ken: I don&#039;t think OAuth is what you are looking for. With OAuth, a student would have to give your app access to his mailbox, so you can&#039;t access the mailbox without their consent. And depending on the country you live in, it might be even illegal to access someone&#039;s mailbox without their consent...</description>
		<content:encoded><![CDATA[<p>@Ken: I don&#8217;t think OAuth is what you are looking for. With OAuth, a student would have to give your app access to his mailbox, so you can&#8217;t access the mailbox without their consent. And depending on the country you live in, it might be even illegal to access someone&#8217;s mailbox without their consent&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken</title>
		<link>http://cakebaker.42dh.com/2008/09/01/using-oauth-enabled-apis-with-cakephp/comment-page-2/#comment-174638</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Thu, 16 Sep 2010 20:27:14 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=769#comment-174638</guid>
		<description>Hello, I have a Google Apps for Education account and we are going to be using it for the students.We have already setup Single Sign On to connect to Active Directory and we want to be able to view the students emails without there consent if a harassment case comes up or something. Am I heading in the right direction with the info here? Any help to guide me in the right direction.</description>
		<content:encoded><![CDATA[<p>Hello, I have a Google Apps for Education account and we are going to be using it for the students.We have already setup Single Sign On to connect to Active Directory and we want to be able to view the students emails without there consent if a harassment case comes up or something. Am I heading in the right direction with the info here? Any help to guide me in the right direction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cakebaker</title>
		<link>http://cakebaker.42dh.com/2008/09/01/using-oauth-enabled-apis-with-cakephp/comment-page-2/#comment-169226</link>
		<dc:creator>cakebaker</dc:creator>
		<pubDate>Sat, 31 Jul 2010 13:05:31 +0000</pubDate>
		<guid isPermaLink="false">http://cakebaker.42dh.com/?p=769#comment-169226</guid>
		<description>@amjedonline: Hm, so it works with some browsers, but not with others? In which browsers do you encounter issues? On which platform are you? And which CakePHP version do you use? 

Here on Linux with Cake v1.3.2 it works fine with FF 3.6.8 and Chrome 5.0.375.125 if the security level is set to &quot;low&quot;.</description>
		<content:encoded><![CDATA[<p>@amjedonline: Hm, so it works with some browsers, but not with others? In which browsers do you encounter issues? On which platform are you? And which CakePHP version do you use? </p>
<p>Here on Linux with Cake v1.3.2 it works fine with FF 3.6.8 and Chrome 5.0.375.125 if the security level is set to &#8220;low&#8221;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

