use Twitter API to store data locally