Twitter-text (1.11.0) says that tweets with asterisks are valid. And I am also allowed to post them to Twitter directly. However, when posted through the Twitter gem (6.0.0) I receive the error: "Could not authenticate you." (code 32)
Twitter::Validation.tweet_invalid?("*TEST* Does this work?") # returns false (valid tweet)
client.update("*TEST* Does this work?") # raises Twitter::Error::Unauthorized: Could not authenticate you.
client.update("TEST Does this work?") # works
This forum post indicates that asterisks need to be URL encoded to be valid, so shouldn't the Twitter gem be handling this for me?
https://twittercommunity.com/t/asterisk/6343