Presumably this code doesn't compile?
Remove this line
String::toCharArray()
if I don't get the serial data from a string class, what other way would there be?
I don't follow, you have
char msg[] = "(inputString)"; //char
...
if (twitter.post(msg)) {
I guess that posts the msg string to Twitter.
Apart from not compiling what doesn't work?
Rob