GithubHelp home page GithubHelp logo

samoh / trend_map Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 4.0 29 KB

Fun application that queries twitter based on a hashtag and shows where the trend began (based on dates you input) and tracks it to an end date (Which you also input)

Python 80.37% HTML 19.63%

trend_map's Introduction

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)

trend_map's People

Contributors

samoh avatar

Stargazers

Maha Al-Khater avatar  avatar  avatar Rahul avatar Alberto Labarga avatar

Watchers

James Cloos avatar  avatar  avatar Kim Morsha Zaldua avatar  avatar

trend_map's Issues

Need tweet location

I need tweet location but here we are getting profile location.Can you make available tweet location?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.