I have Twitter API setup for a local application in C# (using Tweetinvi). Everything is in place and working.
for a small amount of messages per week, I get a response of Code 32 - “could not authenticate you” - I have not changed the credentials or anything as follow up messages that enter the queue go through just fine. When I try and re-send the one in question it comes back with the same response.
So, I do not see this as an authorisation/authentication issue – It is either
a) API issue, or
b) Tweetinvi (C# Library) issue (which I will report on their site if it looks like the target)
Because we need these messages added to our Twitter channel, we end up logging in directly to the site and pasting the message/tweet. This works fine. Why does it not work through the API?
Are there any types of characters that are invalid through the API? I have tried removing some characters in the original message and re-sending it hoping to find some clue of where the problems is. Sometimes the message still comes back with the same response. Other times, after removing a certain character(s) - it eventually is sent successfully.
For example, in one message, removing the ‘£’ characters solved the problem. For another, it was removing a ‘[’ near the end of the message. For another, it was removing the ‘[2 of 2]’ at the beginning of the message. These are completely random.
All messages are under 140 characters (I believe the ‘Status over 140 characters’ response would be returned if the case, before the problem explained above, anyway)
I hope I have explained my problem.
Here is an example tweet (without the double-quotes) -
"[3 of 3] concessions £37 SW99 9XX"
This is the url of the message -
It would be good to hear from others on this subject - and if a tweet above worked fine for them.