I accidentally did something awful to someone on social media.
So you wrote something that was bad?
There was an autocorrect error that changed the tone of my comment.
Autocorrect errors are not uncommon and if you apologize to the person I am sure they will understand. In the future it's best to double check your comments and make sure the intended tone is used.
I was drunk too, it's not my fault at all.
Being drunk isn't an excuse, but inform this person of the mistake and I'm sure they'll understand.