iOS example twitter functioning