updated code to fetch tweets using twitter api 1.1

TODO: update code to fetch instagram photos