I’m also getting the error “Could not authenticate you” when trying to post using special characters. What is the right way to do it?
I’m using Abraham’s twitteroauth library and that is what I have tried:
-
for $to->post(‘statuses/update’, array(‘status’ => “Comentário”)); and $to->post(‘statuses/update’, array(‘status’ => utf_encode(“Comentário”) )); I get the error “Could not authenticate you”
-
for $to->post(‘statuses/update’, array(‘status’ => utf_decode(“Comentário”) )); The message sent was “Coment?rio”
-
for $to->post(‘statuses/update’, array(‘status’ => urlencode(“Comentário”) )); the message sent was “coment%C3%A1rio”
I also tried to encode my php file from “ANSI” and “UTF-8 without BOM” and did the above tests again, but nothing works.
Any ideia?