<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>NTwitter - C# .NET Twitter Library</title><link>http://ntwitter.codeplex.com/project/feeds/rss</link><description>NTwitter is a lighwight C&amp;#35; Twitter API encapsulation running under .NET Framework 2.0 as well as under Compact Framework 2.0 and above. It is a port of the popular JTwitter API and makes it easy to write Twitter-enabled applications.</description><item><title>New Post: Support for OAuth</title><link>http://ntwitter.codeplex.com/discussions/226261</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;any solution about it ?&lt;/p&gt;&lt;/div&gt;</description><author>kiquenet</author><pubDate>Sat, 06 Oct 2012 11:41:34 GMT</pubDate><guid isPermaLink="false">New Post: Support for OAuth 20121006114134A</guid></item><item><title>Source code checked in, #96133</title><link>http://ntwitter.codeplex.com/SourceControl/changeset/changes/96133</link><description>Upgrade&amp;#58; New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link&amp;#58; http&amp;#58;&amp;#47;&amp;#47;go.microsoft.com&amp;#47;fwlink&amp;#47;&amp;#63;LinkId&amp;#61;254563</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:40:31 GMT</pubDate><guid isPermaLink="false">Source code checked in, #96133 20121001094031P</guid></item><item><title>Source code checked in, #96132</title><link>http://ntwitter.codeplex.com/SourceControl/changeset/changes/96132</link><description>Checked in by server upgrade</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:33:03 GMT</pubDate><guid isPermaLink="false">Source code checked in, #96132 20121001093303P</guid></item><item><title>New Post: Support for OAuth</title><link>http://ntwitter.codeplex.com/Thread/View.aspx?ThreadId=226261</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Since Twitter changed the login for client apps by requiring OAuth does this library support this&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</description><author>bcbarlow7737</author><pubDate>Tue, 07 Sep 2010 02:10:47 GMT</pubDate><guid isPermaLink="false">New Post: Support for OAuth 20100907021047A</guid></item><item><title>Source code checked in, #63489</title><link>http://ntwitter.codeplex.com/SourceControl/changeset/changes/63489</link><description>Checked in by server upgrade</description><author>_TFSSERVICE</author><pubDate>Tue, 27 Jul 2010 20:28:19 GMT</pubDate><guid isPermaLink="false">Source code checked in, #63489 20100727082819P</guid></item><item><title>Patch Uploaded: #6175</title><link>http://ntwitter.codeplex.com/SourceControl/PatchList.aspx</link><description>
&lt;p&gt;&lt;a href='http://www.codeplex.com/site/users/view/tkunstek'&gt;tkunstek&lt;/a&gt; has uploaded a patch.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Description:&lt;/b&gt;&lt;br /&gt;Ignore previous patch.  Use this one&amp;#58;&lt;br /&gt;&lt;br /&gt;- Added a quick API for bit.ly. Use Twitter.ShortenUrl. You will need to signup for a free login and apikey at bit.ly http&amp;#58;&amp;#47;&amp;#47;bit.ly&amp;#47;account&amp;#47;register then http&amp;#58;&amp;#47;&amp;#47;bit.ly&amp;#47;account&amp;#47;your_api_key &lt;br /&gt;&lt;/p&gt;</description><author>tkunstek</author><pubDate>Sat, 19 Jun 2010 05:40:05 GMT</pubDate><guid isPermaLink="false">Patch Uploaded: #6175 20100619054005A</guid></item><item><title>Patch Uploaded: #6160</title><link>http://ntwitter.codeplex.com/SourceControl/PatchList.aspx</link><description>
&lt;p&gt;&lt;a href='http://www.codeplex.com/site/users/view/tkunstek'&gt;tkunstek&lt;/a&gt; has uploaded a patch.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Description:&lt;/b&gt;&lt;br /&gt;- Added a quick API for bit.ly.  Use Twitter.ShortenUrl.  You will need to signup for a free login and apikey at bit.ly http&amp;#58;&amp;#47;&amp;#47;bit.ly&amp;#47;account&amp;#47;register then http&amp;#58;&amp;#47;&amp;#47;bit.ly&amp;#47;account&amp;#47;your_api_key &lt;/p&gt;</description><author>tkunstek</author><pubDate>Thu, 17 Jun 2010 05:53:59 GMT</pubDate><guid isPermaLink="false">Patch Uploaded: #6160 20100617055359A</guid></item><item><title>New Post: Support for the Twitter GeoAPI?</title><link>http://ntwitter.codeplex.com/Thread/View.aspx?ThreadId=210637</link><description>&lt;div style="line-height: normal;"&gt;&lt;div id="ctl00_ctl00_MasterContent_Content_PostRepeater_ctl00_BodyPanel"&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;div id="ctl00_ctl00_MasterContent_Content_PostRepeater_ctl00_BodyDiv"&gt;
&lt;p&gt;Does NTwitter have support for the Twitter GeoAPI?&lt;/p&gt;
&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>dotnetallday</author><pubDate>Tue, 27 Apr 2010 03:17:43 GMT</pubDate><guid isPermaLink="false">New Post: Support for the Twitter GeoAPI? 20100427031743A</guid></item><item><title>Reviewed: NTwitter 1.0.2 (Apr 14, 2010)</title><link>http://ntwitter.codeplex.com/releases/view/31275#ReviewBy-gatorguru</link><description>Rated 4 Stars &amp;#40;out of 5&amp;#41; - Nice work... dropped into existing app for integration with twitter in about 10 minutes.  Thanks...</description><author>gatorguru</author><pubDate>Wed, 14 Apr 2010 21:00:02 GMT</pubDate><guid isPermaLink="false">Reviewed: NTwitter 1.0.2 (Apr 14, 2010) 20100414090002P</guid></item><item><title>Commented Issue: UpdateStatus fails [9302]</title><link>http://ntwitter.codeplex.com/WorkItem/View.aspx?WorkItemId=9302</link><description>I tried the example published in CodePlex but I&amp;#39;m having an exception when trying to update.&lt;br /&gt;I have WM 6.1 on an Omnia i900.&lt;br /&gt;I debugged the code and I&amp;#39;m having a NullReference Exception in the line 160&amp;#58;&lt;br /&gt;request.ServicePoint.Expect100Continue &amp;#61; false&amp;#59;&lt;br /&gt;in URLConnectionHttpClient.cs&lt;br /&gt;&lt;br /&gt;If I skip that line and continue, it fails when tries to get the RequestStream to pass the data, unfortunately that didn&amp;#39;t say anything because it says that I need an extra messages dll, that happens in line 166 of the same code file&amp;#58;&lt;br /&gt;using &amp;#40;Stream postStream &amp;#61; request.GetRequestStream&amp;#40;&amp;#41;&amp;#41;&lt;br /&gt;Comments: ** Comment from web user: praetorean ** &lt;p&gt;i am also having similar issues as above.. please help&lt;/p&gt;</description><author>praetorean</author><pubDate>Mon, 01 Feb 2010 06:34:50 GMT</pubDate><guid isPermaLink="false">Commented Issue: UpdateStatus fails [9302] 20100201063450A</guid></item><item><title>Commented Issue: UpdateStatus fails [9302]</title><link>http://ntwitter.codeplex.com/WorkItem/View.aspx?WorkItemId=9302</link><description>I tried the example published in CodePlex but I&amp;#39;m having an exception when trying to update.&lt;br /&gt;I have WM 6.1 on an Omnia i900.&lt;br /&gt;I debugged the code and I&amp;#39;m having a NullReference Exception in the line 160&amp;#58;&lt;br /&gt;request.ServicePoint.Expect100Continue &amp;#61; false&amp;#59;&lt;br /&gt;in URLConnectionHttpClient.cs&lt;br /&gt;&lt;br /&gt;If I skip that line and continue, it fails when tries to get the RequestStream to pass the data, unfortunately that didn&amp;#39;t say anything because it says that I need an extra messages dll, that happens in line 166 of the same code file&amp;#58;&lt;br /&gt;using &amp;#40;Stream postStream &amp;#61; request.GetRequestStream&amp;#40;&amp;#41;&amp;#41;&lt;br /&gt;Comments: ** Comment from web user: praetorean ** &lt;p&gt;i am also having similar issues as above.. please help&lt;/p&gt;</description><author>praetorean</author><pubDate>Mon, 01 Feb 2010 06:34:46 GMT</pubDate><guid isPermaLink="false">Commented Issue: UpdateStatus fails [9302] 20100201063446A</guid></item><item><title>New Post: Error in Sending Direct Message in .net CF 3.5</title><link>http://ntwitter.codeplex.com/Thread/View.aspx?ThreadId=79189</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Friends,&lt;/p&gt;
&lt;p&gt;im using NTwitter for my mobile twitter client. im trying to send direct message using following code&lt;/p&gt;
&lt;p&gt;mytwitter = new Twitter(accusername, accpass);&lt;/p&gt;
&lt;p&gt;mytwitter.SendMessage(uname, textmessage);&lt;/p&gt;
&lt;p&gt;im using windows mobile 5 ppc emulator . im getting 403 error&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline"&gt;&lt;strong&gt;details:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;im getting exception in the function&lt;/p&gt;
&lt;p&gt;public static string GetResponseText(HttpWebRequest request)&lt;/p&gt;
&lt;p&gt;in the file URLConnectionHttpClient.cs&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Exception details:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Stack trace:&lt;/p&gt;
&lt;p&gt;{System.Net.WebException: The remote server returned an error: (403) Forbidden.&lt;br&gt;&amp;nbsp;&amp;nbsp; at System.Net.HttpWebRequest.finishGetResponse()&lt;br&gt;&amp;nbsp;&amp;nbsp; at System.Net.HttpWebRequest.GetResponse()&lt;br&gt;&amp;nbsp;&amp;nbsp; at NTwitter.URLConnectionHttpClient.GetResponseText(HttpWebRequest request)&lt;br&gt;&amp;nbsp;&amp;nbsp; at NTwitter.URLConnectionHttpClient.Post(Uri uri, IDictionary`2 vars, Boolean authenticate)&lt;br&gt;&amp;nbsp;&amp;nbsp; at NTwitter.Twitter.Post(Uri uri, IDictionary`2 vars, Boolean authenticate)&lt;br&gt;&amp;nbsp;&amp;nbsp; at NTwitter.Twitter.SendMessage(String recipient, String text)&lt;br&gt;&amp;nbsp;&amp;nbsp; at TwitterClient.PopUp.button1_Click(Object sender, EventArgs e)&lt;br&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control.OnClick(EventArgs e)&lt;br&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Button.OnClick(EventArgs e)&lt;br&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.ButtonBase.WnProc(WM wm, Int32 wParam, Int32 lParam)&lt;br&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)&lt;br&gt;&amp;nbsp;&amp;nbsp; at Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)&lt;br&gt;&amp;nbsp;&amp;nbsp; at System.Windows.Forms.Application.Run(Form fm)&lt;br&gt;&amp;nbsp;&amp;nbsp; at TwitterClient.Program.Main()&lt;br&gt;}&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Response:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Headers = {Date: Mon, 28 Dec 2009 14:09:56 GMT&lt;br&gt;Server: hi&lt;br&gt;X-Transaction: 1262009396-79216-11047&lt;br&gt;Status: 403 Forbidden&lt;br&gt;Last-Modified: Mon, 28 Dec 2009 14:09:56 GMT&lt;br&gt;X-Runtime: 0.01846&lt;br&gt;Content-Type: application/json; charset=utf-8&lt;br&gt;Pragma: no-cache&lt;br&gt;Content-Length...&lt;/p&gt;
&lt;p&gt;AbsoluteUri = &amp;quot;http://twitter.com/direct_messages/new.json&amp;quot;&lt;/p&gt;
&lt;p&gt;Error:ProtocolError&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;please help me&lt;/p&gt;
&lt;p&gt;Thanks in Advance&lt;/p&gt;
&lt;p&gt;Ramkumar&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>ramkumar</author><pubDate>Mon, 28 Dec 2009 14:16:23 GMT</pubDate><guid isPermaLink="false">New Post: Error in Sending Direct Message in .net CF 3.5 20091228021623P</guid></item><item><title>New Post: Library Throwing Error on WinCE</title><link>http://ntwitter.codeplex.com/Thread/View.aspx?ThreadId=78694</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Did anybody have any success using the library &amp;nbsp;on Compact Framework?&lt;/p&gt;
&lt;p&gt;I have Windows Professional 6 emulator with .NET 3.5 on VS2008. When I ran compact framework console app, first, it threw error in URLConnectionHttpClient.Post method at request.ServicePoint.Epect100Continue = false;. This I corrected as follows:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div id="_mcePaste" style="left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ServicePointManager.Expect100Continue = false;&lt;/div&gt;
&lt;p&gt;
&lt;p&gt;ServicePointManager.Expect100Continue = false;&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;if (request.ServicePoint != null){request.ServicePoint.Expect100Continue = false;}&lt;/p&gt;
&lt;p&gt;Then it threw error regarding buffering requirement, which I corrected by inserting - request.AllowWriteStreamBuffering = true;&lt;/p&gt;
&lt;p&gt;Now twitter returns 403 Forbidden. The same code runs fine on normal .NET framework.&lt;/p&gt;
&lt;p&gt;Any idea?&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/p&gt;
&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;</description><author>shosansharma</author><pubDate>Mon, 21 Dec 2009 01:25:43 GMT</pubDate><guid isPermaLink="false">New Post: Library Throwing Error on WinCE 20091221012543A</guid></item><item><title>Reviewed: NTwitter 1.0.2 (ธ.ค. 01, 2552)</title><link>http://ntwitter.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=31275#ReviewBy-thaiasp</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - I like this library. Anyway, when I try getreplies&amp;#40;&amp;#41; method. They got error &amp;#34;Invalid URI&amp;#58; The hostname could not be parsed.&amp;#34;&amp;#10;Please check</description><author>thaiasp</author><pubDate>Tue, 01 Dec 2009 23:51:41 GMT</pubDate><guid isPermaLink="false">Reviewed: NTwitter 1.0.2 (ธ.ค. 01, 2552) 20091201115141P</guid></item><item><title>Commented Issue: NullReferenceException with request.ServicePoint.Expect100Continue = false; [8527]</title><link>http://ntwitter.codeplex.com/WorkItem/View.aspx?WorkItemId=8527</link><description>As soon as I try to run the following code on either a Windows Mobile emulated or physical device ...&lt;br /&gt;&lt;br /&gt;            Twitter twitter &amp;#61; new Twitter&amp;#40;&amp;#34;ACCOUNTNAME&amp;#34;, &amp;#34;PASSWORD&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            twitter.SetStatus&amp;#40;&amp;#34;Test post&amp;#33;&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;... I get a null reference exception here ...&lt;br /&gt;&lt;br /&gt;            HttpWebRequest request &amp;#61; &amp;#40;HttpWebRequest&amp;#41;HttpWebRequest.Create&amp;#40;uri&amp;#41;&amp;#59;&lt;br /&gt;            if &amp;#40;authenticate&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                request.Credentials &amp;#61; new NetworkCredential&amp;#40;username, password&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            request.UserAgent &amp;#61; twitterClientNameAndVersion&amp;#59;&lt;br /&gt;            request.ReadWriteTimeout &amp;#61; c_DefaultTimeout&amp;#59;&lt;br /&gt;            request.Method &amp;#61; &amp;#34;POST&amp;#34;&amp;#59;&lt;br /&gt;            request.ContentType &amp;#61; &amp;#34;application&amp;#47;x-www-form-urlencoded&amp;#34;&amp;#59;&lt;br /&gt;&lt;br /&gt;            request.ServicePoint.Expect100Continue &amp;#61; false&amp;#59;  &amp;#47;&amp;#47; HERE is where the exception occurs&amp;#33;&lt;br /&gt;&lt;br /&gt;ServicePoint is null.&lt;br /&gt;&lt;br /&gt;However, if I run this in a regular WinForm or consule application, it works fine.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m pretty much using your framework with little to know changes.  What&amp;#39;s the issue&amp;#63;&lt;br /&gt;&lt;br /&gt;Thanks, Wade&lt;br /&gt;</description><author>amitchintawar</author><pubDate>Thu, 26 Nov 2009 10:43:27 GMT</pubDate><guid isPermaLink="false">Commented Issue: NullReferenceException with request.ServicePoint.Expect100Continue = false; [8527] 20091126104327A</guid></item><item><title>Created Issue: UpdateStatus fails [9302]</title><link>http://ntwitter.codeplex.com/WorkItem/View.aspx?WorkItemId=9302</link><description>I tried the example published in CodePlex but I&amp;#39;m having an exception when trying to update.&lt;br /&gt;I have WM 6.1 on an Omnia i900.&lt;br /&gt;I debugged the code and I&amp;#39;m having a NullReference Exception in the line 160&amp;#58;&lt;br /&gt;request.ServicePoint.Expect100Continue &amp;#61; false&amp;#59;&lt;br /&gt;in URLConnectionHttpClient.cs&lt;br /&gt;&lt;br /&gt;If I skip that line and continue, it fails when tries to get the RequestStream to pass the data, unfortunately that didn&amp;#39;t say anything because it says that I need an extra messages dll, that happens in line 166 of the same code file&amp;#58;&lt;br /&gt;using &amp;#40;Stream postStream &amp;#61; request.GetRequestStream&amp;#40;&amp;#41;&amp;#41;&lt;br /&gt;</description><author>spereira</author><pubDate>Wed, 25 Nov 2009 06:37:29 GMT</pubDate><guid isPermaLink="false">Created Issue: UpdateStatus fails [9302] 20091125063729A</guid></item><item><title>Commented Issue: NullReferenceException with request.ServicePoint.Expect100Continue = false; [8527]</title><link>http://ntwitter.codeplex.com/WorkItem/View.aspx?WorkItemId=8527</link><description>As soon as I try to run the following code on either a Windows Mobile emulated or physical device ...&lt;br /&gt;&lt;br /&gt;            Twitter twitter &amp;#61; new Twitter&amp;#40;&amp;#34;ACCOUNTNAME&amp;#34;, &amp;#34;PASSWORD&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            twitter.SetStatus&amp;#40;&amp;#34;Test post&amp;#33;&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;... I get a null reference exception here ...&lt;br /&gt;&lt;br /&gt;            HttpWebRequest request &amp;#61; &amp;#40;HttpWebRequest&amp;#41;HttpWebRequest.Create&amp;#40;uri&amp;#41;&amp;#59;&lt;br /&gt;            if &amp;#40;authenticate&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                request.Credentials &amp;#61; new NetworkCredential&amp;#40;username, password&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            request.UserAgent &amp;#61; twitterClientNameAndVersion&amp;#59;&lt;br /&gt;            request.ReadWriteTimeout &amp;#61; c_DefaultTimeout&amp;#59;&lt;br /&gt;            request.Method &amp;#61; &amp;#34;POST&amp;#34;&amp;#59;&lt;br /&gt;            request.ContentType &amp;#61; &amp;#34;application&amp;#47;x-www-form-urlencoded&amp;#34;&amp;#59;&lt;br /&gt;&lt;br /&gt;            request.ServicePoint.Expect100Continue &amp;#61; false&amp;#59;  &amp;#47;&amp;#47; HERE is where the exception occurs&amp;#33;&lt;br /&gt;&lt;br /&gt;ServicePoint is null.&lt;br /&gt;&lt;br /&gt;However, if I run this in a regular WinForm or consule application, it works fine.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m pretty much using your framework with little to know changes.  What&amp;#39;s the issue&amp;#63;&lt;br /&gt;&lt;br /&gt;Thanks, Wade&lt;br /&gt;Comments: ** Comment from web user: wiedsche ** &lt;p&gt;The NullReferenceException doesn&amp;#39;t occour any longer with this fix - but using this lib to tweet doesn&amp;#39;t work, too. Twitter sends 417 error, it expects Expect100Continue to be false. This is controversy. on one hand compact framework doesn&amp;#39;t support the property-value ServicePoint, which is required to set Expect100Continue - on the other hand twitter requires this. &lt;br /&gt;how can this be solved&amp;#63; is there a workaround for comapct framework to set Expect100Continue to false&amp;#63;&lt;/p&gt;</description><author>wiedsche</author><pubDate>Fri, 02 Oct 2009 08:10:52 GMT</pubDate><guid isPermaLink="false">Commented Issue: NullReferenceException with request.ServicePoint.Expect100Continue = false; [8527] 20091002081052A</guid></item><item><title>New Post: Bytes to be written to the stream exceed the Content-Length bytes size specified.</title><link>http://ntwitter.codeplex.com/Thread/View.aspx?ThreadId=69999</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;When use POST and send especial characters &amp;quot;&amp;aacute;&amp;eacute;&amp;iacute;&amp;oacute;&amp;uacute;&amp;ntilde;&amp;quot; etc, this error happend:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Bytes to be written to the stream exceed the Content-Length bytes size specified.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I have found the problem is with the content length.&amp;nbsp; This solved the problem for me:&lt;/p&gt;
&lt;p&gt;//NTwitter.URLConnectionHttpClient.Post&lt;/p&gt;
&lt;p&gt;162&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Append params to post-request&lt;br&gt;163 &amp;nbsp;&amp;nbsp; string paramlist = GetParamString(vars);&lt;br&gt;164 &amp;nbsp; &lt;br&gt;165 &amp;nbsp;&amp;nbsp; //request.ContentLength = paramlist.Length;&lt;br&gt;166&amp;nbsp;&amp;nbsp;&amp;nbsp; request.ContentLength = System.Text.Encoding.UTF8.GetByteCount(paramlist); //New line.&lt;/p&gt;
&lt;p&gt;Now,&amp;nbsp; i can send POST with special characters.&lt;/p&gt;
&lt;p&gt;Good Library.&lt;/p&gt;&lt;/div&gt;</description><author>miguelcrux</author><pubDate>Thu, 24 Sep 2009 16:28:48 GMT</pubDate><guid isPermaLink="false">New Post: Bytes to be written to the stream exceed the Content-Length bytes size specified. 20090924042848P</guid></item><item><title>Commented Issue: NullReferenceException with request.ServicePoint.Expect100Continue = false;</title><link>http://ntwitter.codeplex.com/WorkItem/View.aspx?WorkItemId=8527</link><description>As soon as I try to run the following code on either a Windows Mobile emulated or physical device ...&lt;br /&gt;&lt;br /&gt;            Twitter twitter &amp;#61; new Twitter&amp;#40;&amp;#34;ACCOUNTNAME&amp;#34;, &amp;#34;PASSWORD&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            twitter.SetStatus&amp;#40;&amp;#34;Test post&amp;#33;&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;... I get a null reference exception here ...&lt;br /&gt;&lt;br /&gt;            HttpWebRequest request &amp;#61; &amp;#40;HttpWebRequest&amp;#41;HttpWebRequest.Create&amp;#40;uri&amp;#41;&amp;#59;&lt;br /&gt;            if &amp;#40;authenticate&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                request.Credentials &amp;#61; new NetworkCredential&amp;#40;username, password&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            request.UserAgent &amp;#61; twitterClientNameAndVersion&amp;#59;&lt;br /&gt;            request.ReadWriteTimeout &amp;#61; c_DefaultTimeout&amp;#59;&lt;br /&gt;            request.Method &amp;#61; &amp;#34;POST&amp;#34;&amp;#59;&lt;br /&gt;            request.ContentType &amp;#61; &amp;#34;application&amp;#47;x-www-form-urlencoded&amp;#34;&amp;#59;&lt;br /&gt;&lt;br /&gt;            request.ServicePoint.Expect100Continue &amp;#61; false&amp;#59;  &amp;#47;&amp;#47; HERE is where the exception occurs&amp;#33;&lt;br /&gt;&lt;br /&gt;ServicePoint is null.&lt;br /&gt;&lt;br /&gt;However, if I run this in a regular WinForm or consule application, it works fine.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m pretty much using your framework with little to know changes.  What&amp;#39;s the issue&amp;#63;&lt;br /&gt;&lt;br /&gt;Thanks, Wade&lt;br /&gt;Comments: ** Comment from web user: beltragx ** &lt;p&gt;I pulled down the latest source and am running into the same issue as the original poster. I verified the code was modified to match what you&amp;#39;ve posted here and I&amp;#39;m still getting the 417 error&lt;/p&gt;</description><author>beltragx</author><pubDate>Mon, 24 Aug 2009 16:47:30 GMT</pubDate><guid isPermaLink="false">Commented Issue: NullReferenceException with request.ServicePoint.Expect100Continue = false; 20090824044730P</guid></item><item><title>Commented Issue: NullReferenceException with request.ServicePoint.Expect100Continue = false;</title><link>http://ntwitter.codeplex.com/WorkItem/View.aspx?WorkItemId=8527</link><description>As soon as I try to run the following code on either a Windows Mobile emulated or physical device ...&lt;br /&gt;&lt;br /&gt;            Twitter twitter &amp;#61; new Twitter&amp;#40;&amp;#34;ACCOUNTNAME&amp;#34;, &amp;#34;PASSWORD&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;            twitter.SetStatus&amp;#40;&amp;#34;Test post&amp;#33;&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&lt;br /&gt;... I get a null reference exception here ...&lt;br /&gt;&lt;br /&gt;            HttpWebRequest request &amp;#61; &amp;#40;HttpWebRequest&amp;#41;HttpWebRequest.Create&amp;#40;uri&amp;#41;&amp;#59;&lt;br /&gt;            if &amp;#40;authenticate&amp;#41;&lt;br /&gt;            &amp;#123;&lt;br /&gt;                request.Credentials &amp;#61; new NetworkCredential&amp;#40;username, password&amp;#41;&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;            request.UserAgent &amp;#61; twitterClientNameAndVersion&amp;#59;&lt;br /&gt;            request.ReadWriteTimeout &amp;#61; c_DefaultTimeout&amp;#59;&lt;br /&gt;            request.Method &amp;#61; &amp;#34;POST&amp;#34;&amp;#59;&lt;br /&gt;            request.ContentType &amp;#61; &amp;#34;application&amp;#47;x-www-form-urlencoded&amp;#34;&amp;#59;&lt;br /&gt;&lt;br /&gt;            request.ServicePoint.Expect100Continue &amp;#61; false&amp;#59;  &amp;#47;&amp;#47; HERE is where the exception occurs&amp;#33;&lt;br /&gt;&lt;br /&gt;ServicePoint is null.&lt;br /&gt;&lt;br /&gt;However, if I run this in a regular WinForm or consule application, it works fine.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m pretty much using your framework with little to know changes.  What&amp;#39;s the issue&amp;#63;&lt;br /&gt;&lt;br /&gt;Thanks, Wade&lt;br /&gt;Comments: ** Comment from web user: wwegner ** &lt;p&gt;I&amp;#39;m pretty sure I tried this, and it didn&amp;#39;t resolve the issue because Twitter will send a 417 - or whatever the error is - because they require you to set Expect100Continue to be false.  So, while it doesn&amp;#39;t throw an exception, you still can&amp;#39;t actually post a tweet.  Right&amp;#63;&lt;/p&gt;</description><author>wwegner</author><pubDate>Tue, 18 Aug 2009 11:18:46 GMT</pubDate><guid isPermaLink="false">Commented Issue: NullReferenceException with request.ServicePoint.Expect100Continue = false; 20090818111846A</guid></item></channel></rss>