fixed some bugs with the twitter platform examples