<?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 for ON Blog</title>
	<atom:link href="http://onishimura.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://onishimura.com</link>
	<description></description>
	<lastBuildDate>Wed, 25 Aug 2010 00:47:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>Comment on Facebook, C# and ASP.NET MVC &#8211; Code samples for friends list, activities list and wall posts by onishimura</title>
		<link>http://onishimura.com/2010/08/11/facebook-c-and-asp-net-mvc-code-samples-for-friends-list-activities-list-and-wall-posts/comment-page-1/#comment-65</link>
		<dc:creator>onishimura</dc:creator>
		<pubDate>Wed, 25 Aug 2010 00:47:38 +0000</pubDate>
		<guid isPermaLink="false">http://onishimura.com/?p=202#comment-65</guid>
		<description>Are you sure the account you&#039;re getting the activites for actually has activities? When I first tried out the service I got nothing back, but that was only because I had nothing specified. You can add activites in facebook via  the Info tab - Likes and Interests - Edit. Thats how I added the activities you see in the screenshot above (Dark Knight, Cross country running, etc), at least.</description>
		<content:encoded><![CDATA[<p>Are you sure the account you&#8217;re getting the activites for actually has activities? When I first tried out the service I got nothing back, but that was only because I had nothing specified. You can add activites in facebook via  the Info tab &#8211; Likes and Interests &#8211; Edit. Thats how I added the activities you see in the screenshot above (Dark Knight, Cross country running, etc), at least.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Facebook, C# and ASP.NET MVC &#8211; Code samples for friends list, activities list and wall posts by auser</title>
		<link>http://onishimura.com/2010/08/11/facebook-c-and-asp-net-mvc-code-samples-for-friends-list-activities-list-and-wall-posts/comment-page-1/#comment-63</link>
		<dc:creator>auser</dc:creator>
		<pubDate>Sun, 22 Aug 2010 13:35:28 +0000</pubDate>
		<guid isPermaLink="false">http://onishimura.com/?p=202#comment-63</guid>
		<description>actually I&#039;m not getting any result when using the &quot;get activities&quot; button</description>
		<content:encoded><![CDATA[<p>actually I&#8217;m not getting any result when using the &#8220;get activities&#8221; button</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Facebook, C# and ASP.NET MVC &#8211; Code samples for friends list, activities list and wall posts by auser</title>
		<link>http://onishimura.com/2010/08/11/facebook-c-and-asp-net-mvc-code-samples-for-friends-list-activities-list-and-wall-posts/comment-page-1/#comment-62</link>
		<dc:creator>auser</dc:creator>
		<pubDate>Sun, 22 Aug 2010 13:10:56 +0000</pubDate>
		<guid isPermaLink="false">http://onishimura.com/?p=202#comment-62</guid>
		<description>fantastic.

the FIRST fully working example for MVC2 I find after looking for 10000 hours.

it would be great if you could add some more examples about this.

Thanks</description>
		<content:encoded><![CDATA[<p>fantastic.</p>
<p>the FIRST fully working example for MVC2 I find after looking for 10000 hours.</p>
<p>it would be great if you could add some more examples about this.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Official Facebook C# SDK Released by ni123</title>
		<link>http://onishimura.com/2010/07/17/official-facebook-c-sdk-released/comment-page-1/#comment-58</link>
		<dc:creator>ni123</dc:creator>
		<pubDate>Fri, 20 Aug 2010 10:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://onishimura.com/?p=109#comment-58</guid>
		<description>hi
i m using ur library,and i want to delete post.but it is not working.
i got an error
The remote server returned an error: (400) Bad Request.

please reply..its urgent.</description>
		<content:encoded><![CDATA[<p>hi<br />
i m using ur library,and i want to delete post.but it is not working.<br />
i got an error<br />
The remote server returned an error: (400) Bad Request.</p>
<p>please reply..its urgent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Facebook, C# and ASP.NET MVC &#8211; Code samples for friends list, activities list and wall posts by onishimura</title>
		<link>http://onishimura.com/2010/08/11/facebook-c-and-asp-net-mvc-code-samples-for-friends-list-activities-list-and-wall-posts/comment-page-1/#comment-50</link>
		<dc:creator>onishimura</dc:creator>
		<pubDate>Thu, 12 Aug 2010 21:29:09 +0000</pubDate>
		<guid isPermaLink="false">http://onishimura.com/?p=202#comment-50</guid>
		<description>It could be the access_token you&#039;re passing in, how are you obtaining it? The wrapper class I was using just pulls it out of the cookie, but you could also get it directly with something like this (which is commented out in HomeControler)

string token = HttpContext.Request.Cookies[&quot;fbs_&quot; + ConfigurationManager.AppSettings[&quot;AppID&quot;]][&quot;\&quot;access_token&quot;];</description>
		<content:encoded><![CDATA[<p>It could be the access_token you&#8217;re passing in, how are you obtaining it? The wrapper class I was using just pulls it out of the cookie, but you could also get it directly with something like this (which is commented out in HomeControler)</p>
<p>string token = HttpContext.Request.Cookies["fbs_" + ConfigurationManager.AppSettings["AppID"]]["\"access_token"];</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Official Facebook C# SDK Released by Ales Kecman</title>
		<link>http://onishimura.com/2010/07/17/official-facebook-c-sdk-released/comment-page-1/#comment-49</link>
		<dc:creator>Ales Kecman</dc:creator>
		<pubDate>Thu, 12 Aug 2010 14:49:44 +0000</pubDate>
		<guid isPermaLink="false">http://onishimura.com/?p=109#comment-49</guid>
		<description>Thanks again! You rock!</description>
		<content:encoded><![CDATA[<p>Thanks again! You rock!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Facebook, C# and ASP.NET MVC &#8211; Code samples for friends list, activities list and wall posts by Ales Kecman</title>
		<link>http://onishimura.com/2010/08/11/facebook-c-and-asp-net-mvc-code-samples-for-friends-list-activities-list-and-wall-posts/comment-page-1/#comment-48</link>
		<dc:creator>Ales Kecman</dc:creator>
		<pubDate>Thu, 12 Aug 2010 14:31:15 +0000</pubDate>
		<guid isPermaLink="false">http://onishimura.com/?p=202#comment-48</guid>
		<description>Hi!

Great post!!! I tried all the features introduced and everything works out of the box :-)

Anyway, I&#039;m having a really hard time to post messages to someone&#039;s wall.

My code is as follows:

string token = &quot;my token here&quot;;
FacebookAPI api = new FacebookAPI(token);
Dictionary dic = new Dictionary();
dic[&quot;message&quot;] = &quot;Hello world&quot;;
JSONObject post = api.Post(&quot;/683334501/feed&quot;, dic);

But I always get FacebookAPIException was unhandled, saying The remote server returned an error: (500) Internal Server Error.

Do you have any idea what might I be doing worng or how so solve this issue?

Many thanks in advance!

Best regards,
Ales</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Great post!!! I tried all the features introduced and everything works out of the box <img src='http://onishimura.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Anyway, I&#8217;m having a really hard time to post messages to someone&#8217;s wall.</p>
<p>My code is as follows:</p>
<p>string token = &#8220;my token here&#8221;;<br />
FacebookAPI api = new FacebookAPI(token);<br />
Dictionary dic = new Dictionary();<br />
dic["message"] = &#8220;Hello world&#8221;;<br />
JSONObject post = api.Post(&#8220;/683334501/feed&#8221;, dic);</p>
<p>But I always get FacebookAPIException was unhandled, saying The remote server returned an error: (500) Internal Server Error.</p>
<p>Do you have any idea what might I be doing worng or how so solve this issue?</p>
<p>Many thanks in advance!</p>
<p>Best regards,<br />
Ales</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Official Facebook C# SDK Released by onishimura</title>
		<link>http://onishimura.com/2010/07/17/official-facebook-c-sdk-released/comment-page-1/#comment-46</link>
		<dc:creator>onishimura</dc:creator>
		<pubDate>Wed, 11 Aug 2010 10:18:08 +0000</pubDate>
		<guid isPermaLink="false">http://onishimura.com/?p=109#comment-46</guid>
		<description>A bit later than I anticipated but I&#039;ve put up a post describing this and some sample code to go along with it at &lt;a href=&#039;http://onishimura.com/2010/08/11/facebook-c-and-asp-net-mvc-code-samples-for-friends-list-activities-list-and-wall-posts/&#039; rel=&quot;nofollow&quot;&gt;http://onishimura.com/2010/08/11/facebook-c-and-asp-net-mvc-code-samples-for-friends-list-activities-list-and-wall-posts/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>A bit later than I anticipated but I&#8217;ve put up a post describing this and some sample code to go along with it at <a href='http://onishimura.com/2010/08/11/facebook-c-and-asp-net-mvc-code-samples-for-friends-list-activities-list-and-wall-posts/' rel="nofollow">http://onishimura.com/2010/08/11/facebook-c-and-asp-net-mvc-code-samples-for-friends-list-activities-list-and-wall-posts/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Official Facebook C# SDK Released by onishimura</title>
		<link>http://onishimura.com/2010/07/17/official-facebook-c-sdk-released/comment-page-1/#comment-37</link>
		<dc:creator>onishimura</dc:creator>
		<pubDate>Fri, 06 Aug 2010 03:25:07 +0000</pubDate>
		<guid isPermaLink="false">http://onishimura.com/?p=109#comment-37</guid>
		<description>Sure, I&#039;ve been meaning to go over that in another post so I&#039;ll write it up and post more code tonight/this weekend. Basically it boils down to something like the following:
1. Make sure you have your perms on login to request friends/activities
2. Add classes to map the json objects properly...the friends list is actually in a &#039;data&#039; element if you call https://graph.facebook.com/me/friends?access_token=... so you need to make sure your objects reflect that
3. Modify the Call method in demoopengraph to use JavaScriptSerializer. For whatever reason the DataContractSerializer was throwing fits when parsing the friends list, I think JavascriptSerializer is more
 lightweight and flexible anyways.

You can also use the official facebook sdk with a call like :
JSONObject friends = api.Get(&quot;/me/friends&quot;);

Will go over this all in more detail soon.</description>
		<content:encoded><![CDATA[<p>Sure, I&#8217;ve been meaning to go over that in another post so I&#8217;ll write it up and post more code tonight/this weekend. Basically it boils down to something like the following:<br />
1. Make sure you have your perms on login to request friends/activities<br />
2. Add classes to map the json objects properly&#8230;the friends list is actually in a &#8216;data&#8217; element if you call <a href="https://graph.facebook.com/me/friends?access_token=.." rel="nofollow">https://graph.facebook.com/me/friends?access_token=..</a>. so you need to make sure your objects reflect that<br />
3. Modify the Call method in demoopengraph to use JavaScriptSerializer. For whatever reason the DataContractSerializer was throwing fits when parsing the friends list, I think JavascriptSerializer is more<br />
 lightweight and flexible anyways.</p>
<p>You can also use the official facebook sdk with a call like :<br />
JSONObject friends = api.Get(&#8220;/me/friends&#8221;);</p>
<p>Will go over this all in more detail soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Official Facebook C# SDK Released by Mike Murray</title>
		<link>http://onishimura.com/2010/07/17/official-facebook-c-sdk-released/comment-page-1/#comment-35</link>
		<dc:creator>Mike Murray</dc:creator>
		<pubDate>Thu, 05 Aug 2010 16:53:53 +0000</pubDate>
		<guid isPermaLink="false">http://onishimura.com/?p=109#comment-35</guid>
		<description>Would you happen to know how to handle getting friends and activities for the currently logged in user? I&#039;ve implemented your DEMOFacebookUser class, but it&#039;s failing when I add the following:

[System.Runtime.Serialization.DataMember(Name = &quot;activities&quot;)]
        public Array Activities { get; set; }

Because of the way the JSON is setup I&#039;m not sure how to Serialize it, some applies to the friends response from OpenGraph.

Any help would be greatly appreciated.

Thanks,

Mike Murray</description>
		<content:encoded><![CDATA[<p>Would you happen to know how to handle getting friends and activities for the currently logged in user? I&#8217;ve implemented your DEMOFacebookUser class, but it&#8217;s failing when I add the following:</p>
<p>[System.Runtime.Serialization.DataMember(Name = "activities")]<br />
        public Array Activities { get; set; }</p>
<p>Because of the way the JSON is setup I&#8217;m not sure how to Serialize it, some applies to the friends response from OpenGraph.</p>
<p>Any help would be greatly appreciated.</p>
<p>Thanks,</p>
<p>Mike Murray</p>
]]></content:encoded>
	</item>
</channel>
</rss>
