<?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: Twitter API 101 &#8211; Authentication with PHP and cURL</title>
	<atom:link href="http://nicolasrosental.com/2009/01/23/twitter-api-101-authentication-with-php-and-curl/feed/" rel="self" type="application/rss+xml" />
	<link>http://nicolasrosental.com/2009/01/23/twitter-api-101-authentication-with-php-and-curl/</link>
	<description>Web Development, Coworking and 42</description>
	<lastBuildDate>Wed, 01 Sep 2010 23:56:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: nic</title>
		<link>http://nicolasrosental.com/2009/01/23/twitter-api-101-authentication-with-php-and-curl/#comment-63</link>
		<dc:creator>nic</dc:creator>
		<pubDate>Tue, 17 Aug 2010 22:19:26 +0000</pubDate>
		<guid isPermaLink="false">http://nicolasrosental.com/?p=42#comment-63</guid>
		<description>Hi Hugo,

I&#039;m glad it helped, but keep in mind that this authentication method is out of date and won&#039;t work anymore. You should definitely look into OAuth, I&#039;ve been meaning to write an post on it but it might be a little while.

I think that the only way you&#039;d be able to get the email address is if you are acting as the user itself, I don&#039;t think there are any third party calls that will give you that info.</description>
		<content:encoded><![CDATA[<p>Hi Hugo,</p>
<p>I&#8217;m glad it helped, but keep in mind that this authentication method is out of date and won&#8217;t work anymore. You should definitely look into OAuth, I&#8217;ve been meaning to write an post on it but it might be a little while.</p>
<p>I think that the only way you&#8217;d be able to get the email address is if you are acting as the user itself, I don&#8217;t think there are any third party calls that will give you that info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hugo Ferreira</title>
		<link>http://nicolasrosental.com/2009/01/23/twitter-api-101-authentication-with-php-and-curl/#comment-62</link>
		<dc:creator>Hugo Ferreira</dc:creator>
		<pubDate>Tue, 17 Aug 2010 22:01:29 +0000</pubDate>
		<guid isPermaLink="false">http://nicolasrosental.com/?p=42#comment-62</guid>
		<description>Hi! I used your class and it was helpful! but there&#039;s a way to get the user&#039;s email address from twitter api. such as in facebook api?

thank you</description>
		<content:encoded><![CDATA[<p>Hi! I used your class and it was helpful! but there&#8217;s a way to get the user&#8217;s email address from twitter api. such as in facebook api?</p>
<p>thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://nicolasrosental.com/2009/01/23/twitter-api-101-authentication-with-php-and-curl/#comment-16</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Thu, 01 Apr 2010 07:21:58 +0000</pubDate>
		<guid isPermaLink="false">http://nicolasrosental.com/?p=42#comment-16</guid>
		<description>Oke thanks for the info!</description>
		<content:encoded><![CDATA[<p>Oke thanks for the info!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nic</title>
		<link>http://nicolasrosental.com/2009/01/23/twitter-api-101-authentication-with-php-and-curl/#comment-15</link>
		<dc:creator>Nic</dc:creator>
		<pubDate>Wed, 31 Mar 2010 22:55:10 +0000</pubDate>
		<guid isPermaLink="false">http://nicolasrosental.com/?p=42#comment-15</guid>
		<description>Crystal. Basic authentication is going to be deprecated soon, so you will want to look into OAuth. http://apiwiki.twitter.com/OAuth-FAQ
If you happen to still use basic auth and have the user&#039;s username and password, you can use account/verify_credentials http://apiwiki.twitter.com/Twitter-REST-API-Method:-account%C2%A0verify_credentials
It returns HTTP status codes that will help you create your own boolean check. 200 + user info if valid, or a 401 if invalid. The start of the response will look something like

HTTP/1.1 401 Unauthorized Date: Tue, 10 Nov 2009 15:16:24 GMT

I go into a bit more detail here http://nicolasrosental.com/2009/11/10/twitter-response-codes-simplified/

I will very likely be writing a post on OAuth soon, but I haven&#039;t had a chance to hack at it yet.</description>
		<content:encoded><![CDATA[<p>Crystal. Basic authentication is going to be deprecated soon, so you will want to look into OAuth. <a href="http://apiwiki.twitter.com/OAuth-FAQ" rel="nofollow">http://apiwiki.twitter.com/OAuth-FAQ</a><br />
If you happen to still use basic auth and have the user&#8217;s username and password, you can use account/verify_credentials <a href="http://apiwiki.twitter.com/Twitter-REST-API-Method:-account%C2%A0verify_credentials" rel="nofollow">http://apiwiki.twitter.com/Twitter-REST-API-Method:-account%C2%A0verify_credentials</a><br />
It returns HTTP status codes that will help you create your own boolean check. 200 + user info if valid, or a 401 if invalid. The start of the response will look something like</p>
<p>HTTP/1.1 401 Unauthorized Date: Tue, 10 Nov 2009 15:16:24 GMT</p>
<p>I go into a bit more detail here <a href="http://nicolasrosental.com/2009/11/10/twitter-response-codes-simplified/" rel="nofollow">http://nicolasrosental.com/2009/11/10/twitter-response-codes-simplified/</a></p>
<p>I will very likely be writing a post on OAuth soon, but I haven&#8217;t had a chance to hack at it yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://nicolasrosental.com/2009/01/23/twitter-api-101-authentication-with-php-and-curl/#comment-14</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Wed, 31 Mar 2010 22:33:15 +0000</pubDate>
		<guid isPermaLink="false">http://nicolasrosental.com/?p=42#comment-14</guid>
		<description>Hi Nic, thanks for the reaction. I have an application to post messages to twitter, which works fine. But I want users to sign in first before they&#039;re able to send a message. That way I want to make sure the message is posted on the right profile. So what I want is a code for users to identify themselves, and if they do, they&#039;re able to post a message using the form I already made... I hope that&#039;s more clear ;)</description>
		<content:encoded><![CDATA[<p>Hi Nic, thanks for the reaction. I have an application to post messages to twitter, which works fine. But I want users to sign in first before they&#8217;re able to send a message. That way I want to make sure the message is posted on the right profile. So what I want is a code for users to identify themselves, and if they do, they&#8217;re able to post a message using the form I already made&#8230; I hope that&#8217;s more clear <img src='http://nicolasrosental.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nic</title>
		<link>http://nicolasrosental.com/2009/01/23/twitter-api-101-authentication-with-php-and-curl/#comment-13</link>
		<dc:creator>Nic</dc:creator>
		<pubDate>Wed, 31 Mar 2010 22:25:21 +0000</pubDate>
		<guid isPermaLink="false">http://nicolasrosental.com/?p=42#comment-13</guid>
		<description>Hi Nick, I&#039;m sorry if you received my previous reply, I had misunderstood your question. Are you trying to check whether a user&#039;s credentials are valid? If you explain a little bit more of what you are trying to accomplish I might have some suggestions.</description>
		<content:encoded><![CDATA[<p>Hi Nick, I&#8217;m sorry if you received my previous reply, I had misunderstood your question. Are you trying to check whether a user&#8217;s credentials are valid? If you explain a little bit more of what you are trying to accomplish I might have some suggestions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nick</title>
		<link>http://nicolasrosental.com/2009/01/23/twitter-api-101-authentication-with-php-and-curl/#comment-12</link>
		<dc:creator>nick</dc:creator>
		<pubDate>Wed, 31 Mar 2010 21:38:12 +0000</pubDate>
		<guid isPermaLink="false">http://nicolasrosental.com/?p=42#comment-12</guid>
		<description>Hi, Is it also possible just to check the username and password without making a query? I want to check the username and password to get a true or false returned. (I did found an article on the web, but it didn&#039;t work...)</description>
		<content:encoded><![CDATA[<p>Hi, Is it also possible just to check the username and password without making a query? I want to check the username and password to get a true or false returned. (I did found an article on the web, but it didn&#8217;t work&#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nic</title>
		<link>http://nicolasrosental.com/2009/01/23/twitter-api-101-authentication-with-php-and-curl/#comment-11</link>
		<dc:creator>Nic</dc:creator>
		<pubDate>Sat, 13 Mar 2010 13:09:11 +0000</pubDate>
		<guid isPermaLink="false">http://nicolasrosental.com/?p=42#comment-11</guid>
		<description>Hi Lami, thanks for stopping by. I don&#039;t use Windows, but it seems the answer to your first question is as follows

Click the WAMP icon in task tray, then go to PHP &gt; PHP Extensions &gt; php_curl. Then restart apache. The entire discussion is here http://www.phpfreaks.com/forums/index.php?topic=180453.0

As per OAuth, I haven&#039;t had a chance to play with it yet, but there are a lot of resources out there.</description>
		<content:encoded><![CDATA[<p>Hi Lami, thanks for stopping by. I don&#8217;t use Windows, but it seems the answer to your first question is as follows</p>
<p>Click the WAMP icon in task tray, then go to PHP > PHP Extensions > php_curl. Then restart apache. The entire discussion is here <a href="http://www.phpfreaks.com/forums/index.php?topic=180453.0" rel="nofollow">http://www.phpfreaks.com/forums/index.php?topic=180453.0</a></p>
<p>As per OAuth, I haven&#8217;t had a chance to play with it yet, but there are a lot of resources out there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lami</title>
		<link>http://nicolasrosental.com/2009/01/23/twitter-api-101-authentication-with-php-and-curl/#comment-10</link>
		<dc:creator>lami</dc:creator>
		<pubDate>Sat, 13 Mar 2010 09:49:08 +0000</pubDate>
		<guid isPermaLink="false">http://nicolasrosental.com/?p=42#comment-10</guid>
		<description>bonjour,comment je peux activer curl sur wampserveur?
je veux exploiter Oauth on twitter dans mon application comment je peux l&#039;utiliser?c très urgent,merci</description>
		<content:encoded><![CDATA[<p>bonjour,comment je peux activer curl sur wampserveur?<br />
je veux exploiter Oauth on twitter dans mon application comment je peux l&#8217;utiliser?c très urgent,merci</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Twitter Response Codes Simplified &#124; NicDev</title>
		<link>http://nicolasrosental.com/2009/01/23/twitter-api-101-authentication-with-php-and-curl/#comment-9</link>
		<dc:creator>Twitter Response Codes Simplified &#124; NicDev</dc:creator>
		<pubDate>Tue, 10 Nov 2009 20:18:16 +0000</pubDate>
		<guid isPermaLink="false">http://nicolasrosental.com/?p=42#comment-9</guid>
		<description>[...] We will be using PHP and cURL to access the API. If you aren&#8217;t too familiar, please read this post. [...]</description>
		<content:encoded><![CDATA[<p>[...] We will be using PHP and cURL to access the API. If you aren&#8217;t too familiar, please read this post. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->