Commits

Matt Hamilton committed ce78dca

Don't POST null - fixes retweets

Comments (0)

Files changed (1)

Budgie/TwitterClient.cs

         {
             var request = new HttpRequestMessage(HttpMethod.Post, relativeUri);
             request.Properties["tokens"] = _accessToken;
-            request.Content = new StringContent(content, System.Text.Encoding.UTF8, "application/x-www-form-urlencoded");
+            if (content != null)
+            {
+                request.Content = new StringContent(content, System.Text.Encoding.UTF8, "application/x-www-form-urlencoded");
+            }
             return _client.SendAsync(request);
         }