you set the type of button in the properties panel.
The text and everything else must be stored in the button previously to it being pressed.
It won't work to load anything "on pressed" or anything like that.
for instance; in a game with score, when the player dies, set the text to the tweet button, so when the players presses it, the text is already there.
If you want to change a parameter more than once, you'll need to reload the button after. every time.
However, for some reason, you can't have 2 tweeter buttons at the same time, guess it's a bug (?)