"When an insulting tweet was sent by @KitchenAidUSA, they had a big disaster to deal with http://on.mash.to/R3JOqY I think they managed it well!"
When I just tested this tweet with JTwitter, it allowed the tweet (as it should).
Here's some background to explain why I thought there was a problem:
A user of ours composed a longer tweet than this which was carefully crafted to truncate at 140 characters so that twitter would get the above tweet and other social networks would get a longer status. My software truncated it at (literal) 140 characters (which was wrong) causing a 136 character tweet to be posted by twitter.
I then changed my software to instead allow some "wiggle room" and truncate the twitter post to 160 characters, assuming that twitter itself would further truncate to the correct position. However, at this point, JTwitter wouldn't allow the post saying it was more than 140 characters. I mistakenly assumed that JTwitter was checking the length of my input, not a massaged version of my input.
Apparently, I need to instead figure out exactly where twitter will truncate the post and truncate to that point. I had been resisting this because I didn't want to write the function to emulate twitter's behavior to truncate at the precise point. I would be happier to have the "non checking" version of updateStatus I mentioned above.
Let me now leave this topic and instead just rant about how idiotic Twitter's URL 'shortening' method is. An example is that they will change a post written as "I love amazon.com!" to "I love http://t.co/LFqNfEK3!". Of course, in their UI, they'll display this as "I love amazon.com!" and expect every other client that reads their stream to use their API to convert their short link back to a domain name. Very annoying.
Thanks,
--Jim--