You can't assign a String to an array of char.
I have no idea what twitter.post() is, how is it defined?
You create a String of 40 chars and put nothing into it.
Show us all the code and the declaration of twitter.post() if it's external (or the error message you get from that line).
Rob