I developed a small application to post tweets using C#. I followed the below guide and everything works like a charm:
http://www.overpie.com/aspnet/articles/csharp-post-message-to-twitter
The only problem is that if I try to tweet something having the single quote character('), I get a 401 error. I tried escaping it using all the below, but I either ended up with the same error or the characters.
/'
//'
'''
''''
HtmlEncode
Any help please? For the record I get the same problem if I tweet with an exclamation mark.