<?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: iPhone, Facebook, oAuth 2.0 and the Graph API.  A Tutorial.</title>
	<atom:link href="http://www.capturetheconversation.com/technology/iphone-facebook-oauth2-graph-api/feed" rel="self" type="application/rss+xml" />
	<link>http://www.capturetheconversation.com/technology/iphone-facebook-oauth2-graph-api</link>
	<description>Social Media Conversation</description>
	<lastBuildDate>Wed, 11 Jan 2012 15:21:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: David Peterson</title>
		<link>http://www.capturetheconversation.com/technology/iphone-facebook-oauth2-graph-api#comment-63</link>
		<dc:creator>David Peterson</dc:creator>
		<pubDate>Fri, 02 Jul 2010 06:48:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.capturetheconversation.com/?p=1019#comment-63</guid>
		<description>Thanks for the excellent set of posts! This info is hard to come by on the Web.

I downloaded your Xcode project, but when I run it I get a blank screen. No errors, just a white screen. Has there been some changes to the way facebook uses their API?

Cheers,

David</description>
		<content:encoded><![CDATA[<p>Thanks for the excellent set of posts! This info is hard to come by on the Web.</p>
<p>I downloaded your Xcode project, but when I run it I get a blank screen. No errors, just a white screen. Has there been some changes to the way facebook uses their API?</p>
<p>Cheers,</p>
<p>David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dominic Dimarco</title>
		<link>http://www.capturetheconversation.com/technology/iphone-facebook-oauth2-graph-api#comment-49</link>
		<dc:creator>Dominic Dimarco</dc:creator>
		<pubDate>Wed, 30 Jun 2010 03:28:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.capturetheconversation.com/?p=1019#comment-49</guid>
		<description>Nice catch.  I&#039;ve fixed the bug and re-uploaded the xcode project to this post:  &lt;a href=&quot;http://www.capturetheconversation.com/technology/iphone-facebook-oauth-2-0-and-the-graph-api-a-tutorial-part-2&quot; rel=&quot;nofollow&quot;&gt;iPhone, Facebook, oAuth 2.0 and the Graph API. A Tutorial, Part 2.&lt;/a&gt;

Else you can &#039;patch&#039; the project you have, by removing the two lines you reference above and replace with:
&lt;i&gt;&lt;span&gt;
		//remove everything &#039;&amp;&#039; (inclusive) onward...
		NSRange period_range = [access_token rangeOfString:@&quot;&amp;&quot;];
		
		//move beyond the .
		access_token = [access_token substringToIndex:period_range.location];
&lt;/span&gt;&lt;/i&gt;
Thanks,
Dominic</description>
		<content:encoded><![CDATA[<p>Nice catch.  I&#8217;ve fixed the bug and re-uploaded the xcode project to this post:  <a href="http://www.capturetheconversation.com/technology/iphone-facebook-oauth-2-0-and-the-graph-api-a-tutorial-part-2" rel="nofollow">iPhone, Facebook, oAuth 2.0 and the Graph API. A Tutorial, Part 2.</a></p>
<p>Else you can &#8216;patch&#8217; the project you have, by removing the two lines you reference above and replace with:<br />
<i><span><br />
		//remove everything &#8216;&amp;&#8217; (inclusive) onward&#8230;<br />
		NSRange period_range = [access_token rangeOfString:@"&amp;"];</p>
<p>		//move beyond the .<br />
		access_token = [access_token substringToIndex:period_range.location];<br />
</span></i><br />
Thanks,<br />
Dominic</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kiran</title>
		<link>http://www.capturetheconversation.com/technology/iphone-facebook-oauth2-graph-api#comment-48</link>
		<dc:creator>Kiran</dc:creator>
		<pubDate>Tue, 29 Jun 2010 21:49:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.capturetheconversation.com/?p=1019#comment-48</guid>
		<description>Thank you for this code!

It worked great the first few times for me.  Then I changed users a few times and now I&#039;m seeing some odd results.

Previously, I was getting &quot;normal&quot; access tokens.  Now, I see things like:

125043510846930&#124;2.n1N6v_oIUWQsIZXmwoD2MQ__.8....(etc)

The problem is that this statement breaks the functionality:

-------------------
FbGraph.m line 237:

//finally we want to remove anything that occurs after a &#039;.&#039;
NSRange period_range = [access_token rangeOfString:@&quot;.&quot;];
-------------------

My access token is now &quot;125043510846930&#124;2.&quot;, which causes the oAuth exception: &quot;Invalid access token signature.&quot;

Any help in getting past this would be greatly appreciated. 

Thanks!</description>
		<content:encoded><![CDATA[<p>Thank you for this code!</p>
<p>It worked great the first few times for me.  Then I changed users a few times and now I&#8217;m seeing some odd results.</p>
<p>Previously, I was getting &#8220;normal&#8221; access tokens.  Now, I see things like:</p>
<p>125043510846930|2.n1N6v_oIUWQsIZXmwoD2MQ__.8&#8230;.(etc)</p>
<p>The problem is that this statement breaks the functionality:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
FbGraph.m line 237:</p>
<p>//finally we want to remove anything that occurs after a &#8216;.&#8217;<br />
NSRange period_range = [access_token rangeOfString:@"."];<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>My access token is now &#8220;125043510846930|2.&#8221;, which causes the oAuth exception: &#8220;Invalid access token signature.&#8221;</p>
<p>Any help in getting past this would be greatly appreciated. </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Minar</title>
		<link>http://www.capturetheconversation.com/technology/iphone-facebook-oauth2-graph-api#comment-42</link>
		<dc:creator>Minar</dc:creator>
		<pubDate>Sat, 19 Jun 2010 22:52:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.capturetheconversation.com/?p=1019#comment-42</guid>
		<description>I appreciate your tutorial. 
I want to post images/messages to my news feed using the graph api. The documentations says that I need to use
curl -F &#039;access_token=...&#039; \
-F &#039;message=Hello, Arjun. I like this new API.&#039; \
https://graph.facebook.com/arjun/feed

Is there a way of doing this using NSURLRequest?

--------------------
&lt;em&gt;&lt;strong&gt;6/22/2010 &lt;/strong&gt;Part 2 of this series will be released on 6/29.  With that post I&#039;ll show off a pseudo API with the ability to upload files from your iPhone to Facebook using a NSMutableURLRequest.

Dominic&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>I appreciate your tutorial.<br />
I want to post images/messages to my news feed using the graph api. The documentations says that I need to use<br />
curl -F &#8216;access_token=&#8230;&#8217; \<br />
-F &#8216;message=Hello, Arjun. I like this new API.&#8217; \<br />
<a href="https://graph.facebook.com/arjun/feed" rel="nofollow">https://graph.facebook.com/arjun/feed</a></p>
<p>Is there a way of doing this using NSURLRequest?</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
<em><strong>6/22/2010 </strong>Part 2 of this series will be released on 6/29.  With that post I&#8217;ll show off a pseudo API with the ability to upload files from your iPhone to Facebook using a NSMutableURLRequest.</p>
<p>Dominic</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cory D. Wiles</title>
		<link>http://www.capturetheconversation.com/technology/iphone-facebook-oauth2-graph-api#comment-39</link>
		<dc:creator>Cory D. Wiles</dc:creator>
		<pubDate>Fri, 11 Jun 2010 20:24:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.capturetheconversation.com/?p=1019#comment-39</guid>
		<description>I blogged about this exact topic.  Facebook sucks for not having released an update to their iPhone SDK

http://blog.corywiles.com/facebook-graph-api-with-a-native-iphone-appli</description>
		<content:encoded><![CDATA[<p>I blogged about this exact topic.  Facebook sucks for not having released an update to their iPhone SDK</p>
<p><a href="http://blog.corywiles.com/facebook-graph-api-with-a-native-iphone-appli" rel="nofollow">http://blog.corywiles.com/facebook-graph-api-with-a-native-iphone-appli</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

