<?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 Steven Ng</title>
	<atom:link href="http://stevenng.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://stevenng.net</link>
	<description>Software Developer</description>
	<lastBuildDate>Wed, 28 Jul 2010 18:59:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>Comment on Using MySpace REST API with OAuth and C# by mohsin</title>
		<link>http://stevenng.net/2009/03/17/using-myspace-rest-api-with-oauth-and-c/comment-page-1/#comment-525</link>
		<dc:creator>mohsin</dc:creator>
		<pubDate>Wed, 28 Jul 2010 18:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://stevenng.net/?p=70#comment-525</guid>
		<description>I&#039;m using http://stevenng.net/files/OAuthBase.cs  class file ..

i have successfully done first 3 steps of user authentication but unable to compose url for access token (step4)...

Authentication Process steps: 
Step 1: Get a request token. (http://api.myspace.com/request_token) Step 2: Redirect to a MySpace URL to authenticate the User. (http://api.myspace.com/authorize) 
Step 3: On successful authentication of the User, MySpace redirects the User back to the callback URL. 
Step 4: Obtain an &quot;access token&quot;. (http://api.myspace.com/access_token) -- FACING PROBLEM at this step

if anyone already done this before then please please paste your sample code .... i shall be very thankful to you for this kindness !!!</description>
		<content:encoded><![CDATA[<p>I&#8217;m using <a href="http://stevenng.net/files/OAuthBase.cs" rel="nofollow">http://stevenng.net/files/OAuthBase.cs</a>  class file ..</p>
<p>i have successfully done first 3 steps of user authentication but unable to compose url for access token (step4)&#8230;</p>
<p>Authentication Process steps:<br />
Step 1: Get a request token. (<a href="http://api.myspace.com/request_token" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/api.myspace.com/request_token?referer=');">http://api.myspace.com/request_token</a>) Step 2: Redirect to a MySpace URL to authenticate the User. (<a href="http://api.myspace.com/authorize" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/api.myspace.com/authorize?referer=');">http://api.myspace.com/authorize</a>)<br />
Step 3: On successful authentication of the User, MySpace redirects the User back to the callback URL.<br />
Step 4: Obtain an &#8220;access token&#8221;. (<a href="http://api.myspace.com/access_token" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/api.myspace.com/access_token?referer=');">http://api.myspace.com/access_token</a>) &#8212; FACING PROBLEM at this step</p>
<p>if anyone already done this before then please please paste your sample code &#8230;. i shall be very thankful to you for this kindness !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ASP.NET Error &#8211; The state information is invalid for this page and might be corrupted by Omar Jarid</title>
		<link>http://stevenng.net/2010/06/27/asp-net-error-the-state-information-is-invalid-for-this-page-and-might-be-corrupted/comment-page-1/#comment-521</link>
		<dc:creator>Omar Jarid</dc:creator>
		<pubDate>Sat, 10 Jul 2010 23:32:24 +0000</pubDate>
		<guid isPermaLink="false">http://stevenng.net/?p=265#comment-521</guid>
		<description>The error is that you change the controls on the form and content so when you postback the viewstate does not match the page.</description>
		<content:encoded><![CDATA[<p>The error is that you change the controls on the form and content so when you postback the viewstate does not match the page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ASP.NET Error &#8211; The state information is invalid for this page and might be corrupted by Blerta</title>
		<link>http://stevenng.net/2010/06/27/asp-net-error-the-state-information-is-invalid-for-this-page-and-might-be-corrupted/comment-page-1/#comment-518</link>
		<dc:creator>Blerta</dc:creator>
		<pubDate>Wed, 30 Jun 2010 14:58:35 +0000</pubDate>
		<guid isPermaLink="false">http://stevenng.net/?p=265#comment-518</guid>
		<description>Hello! 
Interesting article indeed. I am having a similar problem though, in my situation I have a master page, a content page and a user control.
In content page I am using jquery tabs. While in usercontrol I am doing some response.redirect on a linkbutton click event but when i browse my web page in internet explorer i get &quot;The state information is invalid for this page and might be corrupted&quot; but when i comment the jquery tab part everything else works fine except i don&#039;t get the tabs.

How can I make both of them working? Any ideas?

Thank you in advance.</description>
		<content:encoded><![CDATA[<p>Hello!<br />
Interesting article indeed. I am having a similar problem though, in my situation I have a master page, a content page and a user control.<br />
In content page I am using jquery tabs. While in usercontrol I am doing some response.redirect on a linkbutton click event but when i browse my web page in internet explorer i get &#8220;The state information is invalid for this page and might be corrupted&#8221; but when i comment the jquery tab part everything else works fine except i don&#8217;t get the tabs.</p>
<p>How can I make both of them working? Any ideas?</p>
<p>Thank you in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using MySpace REST API with OAuth and C# by Ria</title>
		<link>http://stevenng.net/2009/03/17/using-myspace-rest-api-with-oauth-and-c/comment-page-1/#comment-517</link>
		<dc:creator>Ria</dc:creator>
		<pubDate>Tue, 22 Jun 2010 05:15:26 +0000</pubDate>
		<guid isPermaLink="false">http://stevenng.net/?p=70#comment-517</guid>
		<description>When i use the basic oAuthBase.cs class i receive the 401 unauthorized error but when i use the updated oAuthBase.cs as mentioned by you in response to a comment by Ashish, the 401 error is removed but still the ResponseStream does not return anything. When i copy the request url and place it in the browser, i see the data being returned but its not workign in code. Can someone please suggest something.

Btw, for the sake of simplicity, i m using MakeRequest(&quot;/v1/users/myuserid&quot;); instead of getting the friends.</description>
		<content:encoded><![CDATA[<p>When i use the basic oAuthBase.cs class i receive the 401 unauthorized error but when i use the updated oAuthBase.cs as mentioned by you in response to a comment by Ashish, the 401 error is removed but still the ResponseStream does not return anything. When i copy the request url and place it in the browser, i see the data being returned but its not workign in code. Can someone please suggest something.</p>
<p>Btw, for the sake of simplicity, i m using MakeRequest(&#8220;/v1/users/myuserid&#8221;); instead of getting the friends.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using MySpace REST API with OAuth and C# by Lokesh</title>
		<link>http://stevenng.net/2009/03/17/using-myspace-rest-api-with-oauth-and-c/comment-page-1/#comment-386</link>
		<dc:creator>Lokesh</dc:creator>
		<pubDate>Thu, 20 May 2010 12:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://stevenng.net/?p=70#comment-386</guid>
		<description>Hi,

I am trying to develop the same application as per your instructions which are mentioned in this blog.
I am using the http://stevenng.net/files/OAuthBase.cs class file.
I am getting the following error 
&quot;The remote server returned an error: (401) Unauthorized&quot;
at following line
// Make web request
Line 57:         HttpWebRequest request = WebRequest.Create(restCall) as HttpWebRequest;
Line 58:         using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)
Line 59:         {
Line 60:             // In this example we are getting back XML


Please help me to sort out this error.
If possible please upload working code.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am trying to develop the same application as per your instructions which are mentioned in this blog.<br />
I am using the <a href="http://stevenng.net/files/OAuthBase.cs" rel="nofollow">http://stevenng.net/files/OAuthBase.cs</a> class file.<br />
I am getting the following error<br />
&#8220;The remote server returned an error: (401) Unauthorized&#8221;<br />
at following line<br />
// Make web request<br />
Line 57:         HttpWebRequest request = WebRequest.Create(restCall) as HttpWebRequest;<br />
Line 58:         using (HttpWebResponse response = request.GetResponse() as HttpWebResponse)<br />
Line 59:         {<br />
Line 60:             // In this example we are getting back XML</p>
<p>Please help me to sort out this error.<br />
If possible please upload working code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using MySpace REST API with OAuth and C# by Sharanya</title>
		<link>http://stevenng.net/2009/03/17/using-myspace-rest-api-with-oauth-and-c/comment-page-1/#comment-314</link>
		<dc:creator>Sharanya</dc:creator>
		<pubDate>Fri, 23 Apr 2010 09:23:02 +0000</pubDate>
		<guid isPermaLink="false">http://stevenng.net/?p=70#comment-314</guid>
		<description>Hi,

Could you please generate the code for Hi5 REST API with oAuth in C#?

Thanks,
Sharanya</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Could you please generate the code for Hi5 REST API with oAuth in C#?</p>
<p>Thanks,<br />
Sharanya</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using MySpace REST API with OAuth and C# by Samuel_Cazell</title>
		<link>http://stevenng.net/2009/03/17/using-myspace-rest-api-with-oauth-and-c/comment-page-1/#comment-293</link>
		<dc:creator>Samuel_Cazell</dc:creator>
		<pubDate>Tue, 09 Feb 2010 18:12:57 +0000</pubDate>
		<guid isPermaLink="false">http://stevenng.net/?p=70#comment-293</guid>
		<description>Thank you so much!</description>
		<content:encoded><![CDATA[<p>Thank you so much!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using MySpace REST API with OAuth and C# by Kakoute</title>
		<link>http://stevenng.net/2009/03/17/using-myspace-rest-api-with-oauth-and-c/comment-page-1/#comment-284</link>
		<dc:creator>Kakoute</dc:creator>
		<pubDate>Tue, 19 Jan 2010 10:02:36 +0000</pubDate>
		<guid isPermaLink="false">http://stevenng.net/?p=70#comment-284</guid>
		<description>Hello,

I still have the 401 error. Here is the created URL by your code : 
http://api.myspace.com/v1/users/MyUserID/friends.xml?oauth_consumer_key=MyApIKEY&amp;oauth_nonce=7215739&amp;oauth_signature_method=HMAC-SHA1&amp;oauth_timestamp=1263895708&amp;oauth_version=1.0&amp;page_size=100&amp;oauth_signature=NflU8%2b5oFHguiY90zmDKKjfE8z4%3d

In the signature : NflU8%2b5oFHguiY90zmDKKjfE8z4%3d, we can see url encoded characters like %3d.

Thanks</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I still have the 401 error. Here is the created URL by your code :<br />
<a href="http://api.myspace.com/v1/users/MyUserID/friends.xml?oauth_consumer_key=MyApIKEY&amp;oauth_nonce=7215739&amp;oauth_signature_method=HMAC-SHA1&amp;oauth_timestamp=1263895708&amp;oauth_version=1.0&amp;page_size=100&amp;oauth_signature=NflU8%2b5oFHguiY90zmDKKjfE8z4%3d" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/api.myspace.com/v1/users/MyUserID/friends.xml?oauth_consumer_key=MyApIKEY_amp_oauth_nonce=7215739_amp_oauth_signature_method=HMAC-SHA1_amp_oauth_timestamp=1263895708_amp_oauth_version=1.0_amp_page_size=100_amp_oauth_signature=NflU8_2b5oFHguiY90zmDKKjfE8z4_3d&amp;referer=');">http://api.myspace.com/v1/users/MyUserID/friends.xml?oauth_consumer_key=MyApIKEY&amp;oauth_nonce=7215739&amp;oauth_signature_method=HMAC-SHA1&amp;oauth_timestamp=1263895708&amp;oauth_version=1.0&amp;page_size=100&amp;oauth_signature=NflU8%2b5oFHguiY90zmDKKjfE8z4%3d</a></p>
<p>In the signature : NflU8%2b5oFHguiY90zmDKKjfE8z4%3d, we can see url encoded characters like %3d.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using MySpace REST API with OAuth and C# by akiarea</title>
		<link>http://stevenng.net/2009/03/17/using-myspace-rest-api-with-oauth-and-c/comment-page-1/#comment-281</link>
		<dc:creator>akiarea</dc:creator>
		<pubDate>Mon, 04 Jan 2010 12:35:38 +0000</pubDate>
		<guid isPermaLink="false">http://stevenng.net/?p=70#comment-281</guid>
		<description>Hi,

This is good post helps for beginners like me.
When i tried to run this project i got an error at 

rptFriends.DataSource = fb.MakeRequest(&quot;/v1/users/YOUR_USER_ID/friends.xml?page_size=100&quot;);
        rptFriends.DataBind();

saying &quot;The IListSource does not contain any data sources&quot;. But i saved the xml file got from the server and it contains my friend list.

What is the error i am getting ?

I have doubt in here. How i will get other users friends list ?
As to my knowledge the other user need to add our application.
How we will do that ?
How we get users token and token_secrets which is used later to retrieve data whenever wanted ?
What are the url&#039;s for these requests ?
Where i found the url&#039;s used for different data retrieval for particular user ? egs: friends list, status, friends requests etc.

Please reply me for this :-)

Regards
Akeeq</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>This is good post helps for beginners like me.<br />
When i tried to run this project i got an error at </p>
<p>rptFriends.DataSource = fb.MakeRequest(&#8220;/v1/users/YOUR_USER_ID/friends.xml?page_size=100&#8243;);<br />
        rptFriends.DataBind();</p>
<p>saying &#8220;The IListSource does not contain any data sources&#8221;. But i saved the xml file got from the server and it contains my friend list.</p>
<p>What is the error i am getting ?</p>
<p>I have doubt in here. How i will get other users friends list ?<br />
As to my knowledge the other user need to add our application.<br />
How we will do that ?<br />
How we get users token and token_secrets which is used later to retrieve data whenever wanted ?<br />
What are the url&#8217;s for these requests ?<br />
Where i found the url&#8217;s used for different data retrieval for particular user ? egs: friends list, status, friends requests etc.</p>
<p>Please reply me for this <img src='http://stevenng.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Regards<br />
Akeeq</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Modifying breadcrumb seperators in SharePoint by Gabriel</title>
		<link>http://stevenng.net/2008/06/30/modifying-breadcrumb-seperators-in-sharepoint/comment-page-1/#comment-279</link>
		<dc:creator>Gabriel</dc:creator>
		<pubDate>Thu, 10 Dec 2009 12:40:13 +0000</pubDate>
		<guid isPermaLink="false">http://stevenng.net/?p=32#comment-279</guid>
		<description>Answer to How to do this using WSS code ( without using sharepoint designer):
Download the master from the master pages repository, and edit from notepad ... save ... upload ... publish ... approve, done.</description>
		<content:encoded><![CDATA[<p>Answer to How to do this using WSS code ( without using sharepoint designer):<br />
Download the master from the master pages repository, and edit from notepad &#8230; save &#8230; upload &#8230; publish &#8230; approve, done.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
