Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 1.36 KB

README.md

File metadata and controls

19 lines (16 loc) · 1.36 KB

trend_map

Application that uses twitter API to show a map of how the trend spread, who the first person to tweet a certain trend was, and average number of favorites someone has.

Credits

Started out using the twitter API, but quickly realized the limitations on the number of tweets I could query (stops at about 1-2 weeks back), so I had to find an alternative. Found code at https://github.com/Jefferson-Henrique/GetOldTweets-python that works around the limitations set by twitter, however, the code as it was could not extract the lat/long attributes of a tweet so I added code to find the geographical location the user was from.

UPDATE

Unfortunately, despite spending a lot of time working on the onofficial API to query twitter and get responses, as of ~1/03/16 twitter updated it's site and is no longer compatible with the code, so I have to swtich back to the twitter API and work with the restrictions in place.

Currently the application is broken for the reasons described above. I'm in the process of fixing it and replacing all instances with the official API (some functionality, i.e. the first() function and the length of the map() function for finding trends will be highly limited). Also instead of finding the complete average of favorites of any user, favorites() will only find the number of favorites going back a couple of weeks (bc of twitter limitations)