Simplest C# code to post a tweet using OAuth

1 · Danny Tuppeny · July 7, 2016, midnight
Edit: I’ve posted a Dart port of this code here. For a few years I’ve been meaning to automate the posting of tweets to a couple of twitter accounts I run. I’ve always been too lazybusy but this week I had some time and decided to get it done. For many reasons (including that my parents taught me not to take binary dependencies from strangers on the internet ;)) I decided not to use a 5,000 line-of-code third party library but just instead write the simplest code for what I needed. While Googl...