<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>MicroTweet - Twitter OAuth API Library for the .NET Micro Framework</title><link>http://microtweet.codeplex.com/project/feeds/rss</link><description>MicroTweet is a native Twitter OAuth API library for the .NET Micro Framework.</description><item><title>Source code checked in, #16714</title><link>http://microtweet.codeplex.com/SourceControl/changeset/changes/16714</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 20:27:17 GMT</pubDate><guid isPermaLink="false">Source code checked in, #16714 20121001082717P</guid></item><item><title>Source code checked in, #16713</title><link>http://microtweet.codeplex.com/SourceControl/changeset/changes/16713</link><description>Checked in by server upgrade</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 20:25:58 GMT</pubDate><guid isPermaLink="false">Source code checked in, #16713 20121001082558P</guid></item><item><title>New Post: Sample for REST API Request</title><link>http://microtweet.codeplex.com/discussions/360635</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi, not directly related, but I'm trying to build a project where a Netduino Plus interacts with a REST API. I don't suppose there's any good samples in this code to help do that?&lt;/p&gt;
&lt;/div&gt;</description><author>MHillyer</author><pubDate>Fri, 22 Jun 2012 19:05:06 GMT</pubDate><guid isPermaLink="false">New Post: Sample for REST API Request 20120622070506P</guid></item><item><title>New Post: Problem with GetHostEntry</title><link>http://microtweet.codeplex.com/discussions/276099</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Great. &amp;nbsp;I'll definitely start with a branch. &amp;nbsp;You'll want to test it on your netduino plus to make sure I don't break anything there. &amp;nbsp;I have a netduino that I'll test with also. &amp;nbsp;I use TFS also, so SVN isn't an issue. &amp;nbsp;I saw that you posted to the tinyclr.com forum also. &amp;nbsp;When Skewworks posts his code to the wiki we'll be able to see what changes/improvements he made.&lt;/p&gt;&lt;/div&gt;</description><author>ianlee74</author><pubDate>Wed, 19 Oct 2011 04:43:59 GMT</pubDate><guid isPermaLink="false">New Post: Problem with GetHostEntry 20111019044359A</guid></item><item><title>New Post: Problem with GetHostEntry</title><link>http://microtweet.codeplex.com/discussions/276099</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I just added you as a developer so you can commit or make a branch, etc.&amp;nbsp; Might be a good idea to start it out as a branch in case there is any trouble.&amp;nbsp; I have been committing the source to CodePlex via TFS rather than SVN so if you check out the source via SVN it won't have any svn:ignore properties defined.&lt;/p&gt;
&lt;p&gt;I haven't heard of any recent changes with Twitter's auth that would affect this but it is possible that compiling it with a different set of references could introduce some bugs.&amp;nbsp; OAuth is a major pain to deal with, and it can be very difficult to determine exactly what part of the process is making a request fail.&amp;nbsp; Let me know if you run into that and I'll see what I can find.&lt;/p&gt;
&lt;p&gt;Thanks again for the help.&lt;/p&gt;&lt;/div&gt;</description><author>misenhower</author><pubDate>Wed, 19 Oct 2011 04:04:02 GMT</pubDate><guid isPermaLink="false">New Post: Problem with GetHostEntry 20111019040402A</guid></item><item><title>New Post: Problem with GetHostEntry</title><link>http://microtweet.codeplex.com/discussions/276099</link><description>&lt;div style="line-height: normal;"&gt;Matt,
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;Great. Unfortunately, I don't think it's possible to build a single assembly that will work for both boards because they have different SDK references. Hopefully, one day NETMF will evolve to the point where this isn't necessary... So, you probably would
 have to post multiple nuget packages. I started making some changes last night and there will be a number of changes necessary mostly because of syntax differences in the APIs and not so much because of functionality. Also, I talked to another guy in the GHI
 forums today who has also been working on this who started with MicroTweet but said he found several problems. I think this may be due to recent changes in the Twitter authentication APIs. Once I get his code, I'll also compare his changes and integrate them
 into the MicroTweet code.&lt;/div&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;I have GHI FEZ Panda-II, Panda, &amp; netduino boards to test with. I also have a Tahoe-II if there's ever any need to port in that direction. I'm fairly busy myself at the moment but I should be able to get this done within the next couple weeks. How do you
 want to work the source? Do you want to add me as a contributor to the project and have me check in a branch there or just submit changes as a patch?&lt;/div&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;Take care,&lt;/div&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;Ian&lt;br&gt;
&lt;br&gt;
&lt;div&gt;On Tue, Oct 18, 2011 at 21:56, misenhower &lt;span dir="ltr"&gt;&amp;lt;&lt;a href="mailto:notifications@codeplex.com"&gt;notifications@codeplex.com&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex"&gt;
&lt;div&gt;
&lt;p&gt;From: misenhower&lt;/p&gt;
&lt;div&gt;
&lt;p&gt;Hi Ian,&lt;/p&gt;
&lt;p&gt;Good to know, and glad to hear you had some success. I would definitely be interested in making this library work with GHI boards, but I'm not sure what it will take to maintain compatibility for the NuGet package (especially if I have to build different
 assemblies for different boards). It might be necessary to post it as a separate package, I'll have to check what can be configured in the nuspec file, etc.&lt;/p&gt;
&lt;p&gt;I haven't had much time to work on this project lately so I'd definitely be interested in your help. Do you have an idea of how many changes are necessary, and whether it might be possible to build a single assembly for both boards?&lt;/p&gt;
&lt;p&gt;Also, out of curiosity which specific board are you using?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Matt&lt;/p&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;p&gt;Read the &lt;a href="http://microtweet.codeplex.com/discussions/276099#post686134" target="_blank"&gt;
full discussion online&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To add a post to this discussion, reply to this email (&lt;a href="mailto:microtweet@discussions.codeplex.com?subject=[microtweet:276099]" target="_blank"&gt;microtweet@discussions.codeplex.com&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;To start a new discussion for this project, email &lt;a href="mailto:microtweet@discussions.codeplex.com" target="_blank"&gt;
microtweet@discussions.codeplex.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You are receiving this email because you subscribed to this discussion on CodePlex. You can
&lt;a href="https://microtweet.codeplex.com/discussions/276099/unsubscribe/" target="_blank"&gt;
unsubscribe&lt;/a&gt; on CodePlex.com.&lt;/p&gt;
&lt;p&gt;Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br clear="all"&gt;
&lt;div&gt;&lt;br&gt;
&lt;/div&gt;
-- &lt;br&gt;
&lt;div&gt;------------------------------------------------&lt;br&gt;
R. Ian Lee, Sr.&lt;br&gt;
&lt;a href="http://www.linkedin.com/in/rianlee" target="_blank"&gt;http://www.linkedin.com/in/rianlee&lt;/a&gt;
&lt;br&gt;
&lt;a href="http://facebook.com/ianlee74" target="_blank"&gt;http://facebook.com/ianlee74&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a href="http://blog.ianlee.info" target="_blank"&gt;http://blog.ianlee.info&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;Twitter: ianlee74&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;/div&gt;</description><author>ianlee74</author><pubDate>Wed, 19 Oct 2011 03:24:48 GMT</pubDate><guid isPermaLink="false">New Post: Problem with GetHostEntry 20111019032448A</guid></item><item><title>New Post: Problem with GetHostEntry</title><link>http://microtweet.codeplex.com/discussions/276099</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Ian,&lt;/p&gt;
&lt;p&gt;Good to know, and glad to hear you had some success.&amp;nbsp; I would definitely be interested in making this library work with GHI boards, but I'm not sure what it will take to maintain compatibility for the NuGet package (especially if I have to build different assemblies for different boards).&amp;nbsp; It might be necessary to post it as a separate package, I'll have to check what can be configured in the nuspec file, etc.&lt;/p&gt;
&lt;p&gt;I haven't had much time to work on this project lately so I'd definitely be interested in your help.&amp;nbsp; Do you have an idea of how many changes are necessary, and whether it might be possible to build a single assembly for both boards?&lt;/p&gt;
&lt;p&gt;Also, out of curiosity which specific board are you using?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Matt&lt;/p&gt;&lt;/div&gt;</description><author>misenhower</author><pubDate>Wed, 19 Oct 2011 02:56:11 GMT</pubDate><guid isPermaLink="false">New Post: Problem with GetHostEntry 20111019025611A</guid></item><item><title>New Post: Problem with GetHostEntry</title><link>http://microtweet.codeplex.com/discussions/276099</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I've figured out the problem. &amp;nbsp;It was indeed a problem with references. &amp;nbsp;Your library was referencing the netduino System.Net &amp;amp; System.Net.Sockets assemblies which aren't named the same with the GHI boards... &amp;nbsp;Since I have the netduino SDK installed also it didn't cause any compile issues but obviously didn't execute properly once it stepped into your assembly. &amp;nbsp;There are also several other small syntactical things that are going to have to be changed to make this work on the GHI boards. &amp;nbsp;My question to you now is as I make these changes do you want them contributed back or are you only interested in keeping this library netduino specific? &amp;nbsp;In my NETMFx library (netmfx.codeplex.com) I've tried to keep compatibility with both boards through the use of conditional compile conditions. &amp;nbsp;I'd be glad to be your GHI tester/contributor on this project if you're interested since I'm going to be doing it anyway. &amp;nbsp;Let me know if you're interested in working together on this.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ian&lt;/p&gt;&lt;/div&gt;</description><author>ianlee74</author><pubDate>Tue, 18 Oct 2011 03:49:02 GMT</pubDate><guid isPermaLink="false">New Post: Problem with GetHostEntry 20111018034902A</guid></item><item><title>New Post: Problem with GetHostEntry</title><link>http://microtweet.codeplex.com/discussions/276099</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;&lt;span style="color: #000000;"&gt;That's what I did but it didn't make a difference.&amp;nbsp; The only thing I did take out was VikingErik.NetMF.MicroLinq since I didn't have the source.&amp;nbsp; I'll see if I can strip it out tonight w/o impacting the parts I need.&amp;nbsp; May be that there's something in there that's causing the problem.&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>ianlee74</author><pubDate>Mon, 17 Oct 2011 15:47:34 GMT</pubDate><guid isPermaLink="false">New Post: Problem with GetHostEntry 20111017034734P</guid></item><item><title>New Post: Problem with GetHostEntry</title><link>http://microtweet.codeplex.com/discussions/276099</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;It sounds like my project is referencing a different set of assemblies than what is needed for your board (and what you're using in your project).&amp;nbsp; It could be a version number difference or they could be different assemblies altogether.&lt;/p&gt;
&lt;p&gt;I would try removing all the assembly references from my project and replacing them with the same references used in your project.&amp;nbsp; That should clear up any version number (etc.) issues.&lt;/p&gt;&lt;/div&gt;</description><author>misenhower</author><pubDate>Mon, 17 Oct 2011 06:31:19 GMT</pubDate><guid isPermaLink="false">New Post: Problem with GetHostEntry 20111017063119A</guid></item><item><title>New Post: Problem with GetHostEntry</title><link>http://microtweet.codeplex.com/discussions/276099</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Matt,&lt;/p&gt;
&lt;p&gt;Thanks for the reply. &amp;nbsp;After failing with the nuget package, I started debugging with the code. &amp;nbsp;That's where I discovered the problem is with the call to GetHostEntry(). &amp;nbsp;I simplified the first line of your GetNTPTime() to the following to further drill it down.&lt;/p&gt;
&lt;p&gt;
&lt;div style="color: black; background-color: white;"&gt;
&lt;pre&gt;        &lt;span style="color: blue;"&gt;private&lt;/span&gt; &lt;span style="color: blue;"&gt;static&lt;/span&gt; DateTime GetNTPTime(String TimeServer)
        {
            &lt;span style="color: green;"&gt;// Find endpoint for TimeServer&lt;/span&gt;
            &lt;span style="color: blue;"&gt;var&lt;/span&gt; timeServerIP = Dns.GetHostEntry(TimeServer);&lt;span style="white-space: pre;"&gt;				&lt;/span&gt;// &amp;lt;-- Fails here.
            IPEndPoint ep = &lt;span style="color: blue;"&gt;new&lt;/span&gt; IPEndPoint(timeServerIP.AddressList[0], 123);

&lt;/pre&gt;
&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;This is very odd. &amp;nbsp;I don't think it's firmware because the exact same line executes fine in my code but fails when executed from within your project. &amp;nbsp;It's like something about your project is perhaps stuck on an old version of NETMF or something? &amp;nbsp;I checked all the project properties and re-added referenced files. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried your test code and got the same result. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ian&lt;/p&gt;&lt;/div&gt;</description><author>ianlee74</author><pubDate>Mon, 17 Oct 2011 06:11:51 GMT</pubDate><guid isPermaLink="false">New Post: Problem with GetHostEntry 20111017061151A</guid></item><item><title>New Post: Problem with GetHostEntry</title><link>http://microtweet.codeplex.com/discussions/276099</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi Ian,&lt;/p&gt;
&lt;p&gt;I don't think I've heard from anyone using MicroTweet with one of the FEZ boards or a W5100 adapter, so there may be some issues with their firmware or W5100 driver.&lt;/p&gt;
&lt;p&gt;Are you using the NuGet package or are you compiling the source from here on CodePlex?&amp;nbsp; It may be possible to get more specific debug information by compiling the library from its source.&lt;/p&gt;
&lt;p&gt;Also, just to clarify -- Does NTP.UpdateTimeFromNTPServer actually update the device's time correctly as long as you don't call Dns.GetHostEntry?&amp;nbsp; You could verify that by using:&lt;/p&gt;
&lt;p&gt;
&lt;div style="color: black; background-color: white;"&gt;
&lt;pre&gt;Debug.Print(&lt;span style="color: #a31515;"&gt;"Date before updating (should be incorrect): "&lt;/span&gt; + DateTime.Now.ToString());
&lt;span style="color: blue;"&gt;bool&lt;/span&gt; result = NTP.UpdateTimeFromNTPServer(&lt;span style="color: #a31515;"&gt;"time.nist.gov"&lt;/span&gt;);
Debug.Print(&lt;span style="color: #a31515;"&gt;"Update result: "&lt;/span&gt; + result.ToString());
Debug.Print(&lt;span style="color: #a31515;"&gt;"Current date: "&lt;/span&gt; + DateTime.Now.ToString());
&lt;/pre&gt;
&lt;/div&gt;
&lt;/p&gt;
&lt;p&gt;I just tested this out with my Netduino Plus and got the following result:&lt;/p&gt;
&lt;p&gt;
&lt;pre&gt;Time Server IP = 192.43.244.18
Date before updating (should be incorrect): 01/01/2009 00:17:19
Update result: True
Current date: 10/17/2011 05:22:26&lt;/pre&gt;
&lt;/p&gt;
&lt;p&gt;(I actually called GetHostEntry before setting the time without trouble, but try running the above code without calling GetHostEntry to see what happens.)&lt;/p&gt;
&lt;p&gt;I actually have a W5100 shield here so if I get a chance I will test that out tomorrow to see if I can find anything else.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Let me know if you have any other questions.&amp;nbsp; Thanks,&lt;/p&gt;
&lt;p&gt;Matt&lt;/p&gt;&lt;/div&gt;</description><author>misenhower</author><pubDate>Mon, 17 Oct 2011 05:44:51 GMT</pubDate><guid isPermaLink="false">New Post: Problem with GetHostEntry 20111017054451A</guid></item><item><title>New Post: Problem with GetHostEntry</title><link>http://microtweet.codeplex.com/discussions/276099</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I'm having a really weird problem trying to get MicroTweet to work. &amp;nbsp;It seems that the Dns.GetHostEntry() doesn't work when the code in the MicroTweet library is being executed. &amp;nbsp;However, it works just fine outside. &amp;nbsp;For example..&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;using&lt;/span&gt; System.Threading;
&lt;span style="color:blue"&gt;using&lt;/span&gt; Microsoft.SPOT;
&lt;span style="color:blue"&gt;using&lt;/span&gt; Microsoft.SPOT.Hardware;
&lt;span style="color:blue"&gt;using&lt;/span&gt; GHIElectronics.NETMF.FEZ;
&lt;span style="color:blue"&gt;using&lt;/span&gt; GHIElectronics.NETMF.Net;
&lt;span style="color:blue"&gt;using&lt;/span&gt; GHIElectronics.NETMF.Net.NetworkInformation;
&lt;span style="color:blue"&gt;using&lt;/span&gt; Komodex.NETMF.MicroTweet;

&lt;span style="color:blue"&gt;namespace&lt;/span&gt; FEZTweet
{
    &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;class&lt;/span&gt; Program
    {
        &lt;span style="color:blue"&gt;private&lt;/span&gt; &lt;span style="color:blue"&gt;static&lt;/span&gt; &lt;span style="color:blue"&gt;readonly&lt;/span&gt; OutputPort _led = &lt;span style="color:blue"&gt;new&lt;/span&gt; OutputPort((Cpu.Pin) FEZ_Pin.Digital.LED, &lt;span style="color:blue"&gt;true&lt;/span&gt;);

        &lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;static&lt;/span&gt; &lt;span style="color:blue"&gt;void&lt;/span&gt; Main()
        {
            &lt;span style="color:green"&gt;// Make a network connection.&lt;/span&gt;
            &lt;span style="color:blue"&gt;byte&lt;/span&gt;[] ip = {192, 168, 1, 222};
            &lt;span style="color:blue"&gt;byte&lt;/span&gt;[] subnet = {255, 255, 255, 0};
            &lt;span style="color:blue"&gt;byte&lt;/span&gt;[] gateway = {192, 168, 1, 1};
            &lt;span style="color:blue"&gt;byte&lt;/span&gt;[] mac = {0x00, 0xF0, 0xA3, 0xC0, 0x96, 0x27};
            WIZnet_W5100.Enable(SPI.SPI_module.SPI1, (Cpu.Pin) FEZ_Pin.Digital.Di10, (Cpu.Pin) FEZ_Pin.Digital.Di7, &lt;span style="color:blue"&gt;true&lt;/span&gt;);
            NetworkInterface.EnableStaticIP(ip, subnet, gateway, mac);
            NetworkInterface.EnableStaticDns(&lt;span style="color:blue"&gt;new&lt;/span&gt; &lt;span style="color:blue"&gt;byte&lt;/span&gt;[] {192, 168, 1, 1});

            &lt;span style="color:green"&gt;//  THIS WORKS FINE&lt;/span&gt;
            &lt;span style="color:blue"&gt;var&lt;/span&gt; timeServerIP = Dns.GetHostEntry(&lt;span style="color:#a31515"&gt;&amp;quot;time.nist.gov&amp;quot;&lt;/span&gt;);
            Debug.Print(&lt;span style="color:#a31515"&gt;&amp;quot;Time Server IP = &amp;quot;&lt;/span&gt; &amp;#43; timeServerIP.AddressList[0]);

            &lt;span style="color:green"&gt;// Update the clock with exact time.&lt;/span&gt;
            &lt;span style="color:green"&gt;// THIS FAILS WHEN Dns.GetHostEntry() is called.&lt;/span&gt;
            NTP.UpdateTimeFromNTPServer(&lt;span style="color:#a31515"&gt;&amp;quot;time.nist.gov&amp;quot;&lt;/span&gt;);

            &lt;span style="color:green"&gt;// Send a tweet.&lt;/span&gt;
            &lt;span style="color:green"&gt;// THIS FAILS WHEN Dns.GetHostEntry() is called.            var twitterClient = new TwitterClient(secretStuff);&lt;/span&gt;
            &lt;span style="color:blue"&gt;var&lt;/span&gt; tweetSent = twitterClient.SendTweet(&lt;span style="color:#a31515"&gt;&amp;quot;Testing sending a tweet from #NETMF.&amp;quot;&lt;/span&gt;);
            &lt;span style="color:blue"&gt;if&lt;/span&gt; (tweetSent)
            {
                Debug.Print(&lt;span style="color:#a31515"&gt;&amp;quot;Tweet sent.&amp;quot;&lt;/span&gt;);
            }
            &lt;span style="color:blue"&gt;while&lt;/span&gt; (&lt;span style="color:blue"&gt;true&lt;/span&gt;)
            {
                _led.Write(&lt;span style="color:blue"&gt;false&lt;/span&gt;);
                Thread.Sleep(300);
                _led.Write(&lt;span style="color:blue"&gt;true&lt;/span&gt;);
                Thread.Sleep(300);
            }
        }
    }
}
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When it fails, I get an error that says &amp;quot;A first chance exception of type 'System.NotSupportedException' occurred in System.dll&amp;quot;&lt;/p&gt;
&lt;p&gt;Any ideas what is going on and how to fix?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ian&lt;/p&gt;
&lt;/div&gt;</description><author>ianlee74</author><pubDate>Mon, 17 Oct 2011 03:32:16 GMT</pubDate><guid isPermaLink="false">New Post: Problem with GetHostEntry 20111017033216A</guid></item><item><title>Updated Wiki: Home</title><link>http://microtweet.codeplex.com/wikipage?version=10</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Welcome!&lt;/h1&gt;MicroTweet is a native Twitter OAuth API library for the .NET Micro Framework. It can be used to post messages on Twitter from small, inexpensive devices such as the &lt;a href="http://www.netduino.com/netduinoplus/" class="externalLink"&gt;Netduino Plus&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;MicroTweet is now available as a NuGet package!&lt;/b&gt; &lt;a href="http://nuget.org/List/Packages/MicroTweet" class="externalLink"&gt;Click here for more details&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; or simply use &lt;span class="codeInline"&gt;Install-Package MicroTweet&lt;/span&gt; to add MicroTweet to your project.&lt;br /&gt;&lt;br /&gt;Follow me on Twitter! &lt;a href="http://twitter.com/mattisenhower" class="externalLink"&gt;@mattisenhower&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Featured Links&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;&lt;a href="http://channel9.msdn.com/coding4fun/articles/A-Tweeting-NET-Micro-Framework-breathalyzer" class="externalLink"&gt;A .NET Micro Framework Tweeting Breathalyzer&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Fabien Royer&amp;#39;s &lt;a href="http://fabienroyer.wordpress.com/2011/05/08/build-a-twitter-enabled-geiger-counter-with-a-netduino/" class="externalLink"&gt;Twitter-enabled Geiger Counter&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blog.ike.to/2011/03/01/microtweet/" class="externalLink"&gt;Original blog post&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://forums.netduino.com/index.php?/topic/1472-netduino-plus-tweetbot/" class="externalLink"&gt;Netduino Forums thread&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Getting Started&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;When running the sample projects, make sure you copy &lt;span class="codeInline"&gt;Config.sample.cs&lt;/span&gt; to &lt;span class="codeInline"&gt;Config.cs&lt;/span&gt; before building the project.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;To use the Twitter API you must first &lt;a href="http://dev.twitter.com/apps/new" class="externalLink"&gt;register an application&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; with Twitter to get a set of API keys.&lt;/li&gt;
&lt;li&gt;The following values must be entered in &lt;span class="codeInline"&gt;Config.cs&lt;/span&gt;:
&lt;ul&gt;&lt;li&gt;&lt;b&gt;Consumer Key&lt;/b&gt; and &lt;b&gt;Consumer Secret&lt;/b&gt; for your Twitter application.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Access Token&lt;/b&gt; and &lt;b&gt;Access Token Secret&lt;/b&gt; for your Twitter user account. (Click the &amp;quot;My Access Token&amp;quot; link on your app&amp;#39;s page to get these keys.)&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;Remember to configure the project to deploy to your device rather than the .NET MF Emulator.&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Notes&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;Each sample project is contained in its own VS solution. For .NET Micro Framework projects, the &amp;quot;Startup Project&amp;quot; setting has no effect on the build output so multiple projects must be contained in separate solutions to build and run correctly.  (It is also possible to edit the build configurations but using separate solutions is easier.)&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>misenhower</author><pubDate>Thu, 19 May 2011 03:00:51 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110519030051A</guid></item><item><title>Updated Wiki: Documentation</title><link>http://microtweet.codeplex.com/documentation?version=2</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Getting MicroTweet&lt;/h1&gt;The source code for MicroTweet can be downloaded by clicking &amp;quot;Source Code&amp;quot; above.  You can then build or modify the assembly for use in your own projects.&lt;br /&gt;&lt;br /&gt;MicroTweet is also available as a &lt;a href="http://nuget.org/List/Packages/MicroTweet" class="externalLink"&gt;NuGet package&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;See the Samples folder for sample projects that show recommended usage patterns for this library.&lt;br /&gt;&lt;b&gt;Note:&lt;/b&gt; The sample projects are only included with the source code, and are not part of the NuGet package.&lt;br /&gt;
&lt;h1&gt;Using MicroTweet&lt;/h1&gt;First, add the following &lt;span class="codeInline"&gt;using&lt;/span&gt; statement to the top of your code file:&lt;br /&gt;&lt;pre&gt;
using Komodex.NETMF.MicroTweet;
&lt;/pre&gt;
&lt;h2&gt;NTP Class&lt;/h2&gt;The device&amp;#39;s clock must be updated before sending a tweet.&lt;br /&gt;&lt;pre&gt;
NTP.UpdateTimeFromNTPServer(&amp;quot;time-a.nist.gov&amp;quot;);
&lt;/pre&gt;&lt;br /&gt;
&lt;h2&gt;TwitterClient class&lt;/h2&gt;Sending a tweet:&lt;br /&gt;&lt;pre&gt;
TwitterClient twitterClient = new TwitterClient(&amp;quot;ConsumerKey&amp;quot;, &amp;quot;ConsumerSecret&amp;quot;, &amp;quot;UserToken&amp;quot;, &amp;quot;UserTokenSecret&amp;quot;);
bool tweetSent = twitterClient.SendTweet(&amp;quot;Hello world!&amp;quot;);
if (tweetSent)
{
    // Success!
}
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>misenhower</author><pubDate>Thu, 19 May 2011 02:58:48 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20110519025848A</guid></item><item><title>Updated Wiki: Home</title><link>http://microtweet.codeplex.com/wikipage?version=9</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;Welcome!&lt;/h1&gt;MicroTweet is a native Twitter OAuth API library for the .NET Micro Framework. It can be used to post messages on Twitter from small, inexpensive devices such as the &lt;a href="http://www.netduino.com/netduinoplus/" class="externalLink"&gt;Netduino Plus&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Follow me on Twitter! &lt;a href="http://twitter.com/mattisenhower" class="externalLink"&gt;@mattisenhower&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;Featured Links&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;&lt;a href="http://channel9.msdn.com/coding4fun/articles/A-Tweeting-NET-Micro-Framework-breathalyzer" class="externalLink"&gt;A .NET Micro Framework Tweeting Breathalyzer&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Fabien Royer&amp;#39;s &lt;a href="http://fabienroyer.wordpress.com/2011/05/08/build-a-twitter-enabled-geiger-counter-with-a-netduino/" class="externalLink"&gt;Twitter-enabled Geiger Counter&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://blog.ike.to/2011/03/01/microtweet/" class="externalLink"&gt;Original blog post&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://forums.netduino.com/index.php?/topic/1472-netduino-plus-tweetbot/" class="externalLink"&gt;Netduino Forums thread&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Getting Started&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;When running the sample projects, make sure you copy &lt;span class="codeInline"&gt;Config.sample.cs&lt;/span&gt; to &lt;span class="codeInline"&gt;Config.cs&lt;/span&gt; before building the project.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;To use the Twitter API you must first &lt;a href="http://dev.twitter.com/apps/new" class="externalLink"&gt;register an application&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; with Twitter to get a set of API keys.&lt;/li&gt;
&lt;li&gt;The following values must be entered in &lt;span class="codeInline"&gt;Config.cs&lt;/span&gt;:
&lt;ul&gt;&lt;li&gt;&lt;b&gt;Consumer Key&lt;/b&gt; and &lt;b&gt;Consumer Secret&lt;/b&gt; for your Twitter application.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Access Token&lt;/b&gt; and &lt;b&gt;Access Token Secret&lt;/b&gt; for your Twitter user account. (Click the &amp;quot;My Access Token&amp;quot; link on your app&amp;#39;s page to get these keys.)&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;Remember to configure the project to deploy to your device rather than the .NET MF Emulator.&lt;/li&gt;&lt;/ul&gt;

&lt;h2&gt;Notes&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;Each sample project is contained in its own VS solution. For .NET Micro Framework projects, the &amp;quot;Startup Project&amp;quot; setting has no effect on the build output so multiple projects must be contained in separate solutions to build and run correctly.  (It is also possible to edit the build configurations but using separate solutions is easier.)&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>misenhower</author><pubDate>Wed, 18 May 2011 20:43:42 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110518084342P</guid></item><item><title>Created Release: Release 0.4 (May 18, 2011)</title><link>http://microtweet.codeplex.com/releases?ReleaseId=66588</link><description>&lt;div class="wikidoc"&gt;This release improves HttpRequest memory usage, adds an HttpResponse class for parsing HTTP responses, and adds a new sample project.&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>misenhower</author><pubDate>Wed, 18 May 2011 18:43:00 GMT</pubDate><guid isPermaLink="false">Created Release: Release 0.4 (May 18, 2011) 20110518064300P</guid></item><item><title>Released: Release 0.4 (May 18, 2011)</title><link>http://microtweet.codeplex.com/releases/view/66588</link><description>
&lt;div class="wikidoc"&gt;This release improves HttpRequest memory usage, adds an HttpResponse class for parsing HTTP responses, and adds a new sample project.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
</description><author></author><pubDate>Wed, 18 May 2011 18:43:00 GMT</pubDate><guid isPermaLink="false">Released: Release 0.4 (May 18, 2011) 20110518064300P</guid></item><item><title>Source code checked in, #4745</title><link>http://microtweet.codeplex.com/SourceControl/changeset/changes/4745</link><description>Adding Tweeting Breathalyzer sample project</description><author>misenhower</author><pubDate>Wed, 18 May 2011 18:41:09 GMT</pubDate><guid isPermaLink="false">Source code checked in, #4745 20110518064109P</guid></item><item><title>Closed Issue: TwitterClient.SendTweet() should use try/catch/finally [2110]</title><link>http://microtweet.codeplex.com/workitem/2110</link><description>string response &amp;#61; httpRequest.GetResponse&amp;#40;&amp;#41;&amp;#59; should be guarded with a try&amp;#47;catch&amp;#47;finally to deal with the possibility of exceptions thrown by the socket operations. The function should return &amp;#39;false&amp;#39; in case of exception.&lt;br /&gt;Comments: &lt;p&gt;Fixed in revision 4743&lt;/p&gt;</description><author>misenhower</author><pubDate>Wed, 18 May 2011 18:25:11 GMT</pubDate><guid isPermaLink="false">Closed Issue: TwitterClient.SendTweet() should use try/catch/finally [2110] 20110518062511P</guid></item></channel></rss>