how to define a serial inputString

The notation String::toCharArray() means that the String class has a toCharArray() method. You have some instance of the string class, that you need to call the method for:

  char dumbTweet[80];
  inputString.toCharArray(dumbTweet, 80);

  if (twitter.post(dumbTweet))
  {