tweet extraction in class