An adaption of the twitter plugin but adapted for PhoneGap 3.0