Skip to content

A MEAN Stack based Application for showing tweets from a #tag

Notifications You must be signed in to change notification settings

dbalaji/hashtagfeed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter HashTag Feed

Fetch tweets of a given “#HashTag” every few minutes and store only the newly found tweets in a database. User can see the tweets for a given “#HashTag”, which auto refreshes via socket.io events.

How to setup

  1. Clone this repository
  2. cd to repository root directory
  3. Execute npm install and bower install
  4. Create a file config/main.json and specify below configuration
    {
      "twitter": {
        "consumer_key"      : "",
        "consumer_secret"   : "",
        "access_token"      : "",
        "access_token_secret": ""
      },
      "debug" : false,
      "db" :{
        "base_url": "mongodb://localhost/"
      }
    }
    
  5. Execute grunt command
  6. Execute npm start command
  7. Access http://127.0.0.1:3000/

Demo

Demo.

References

  1. https://dev.twitter.com/rest/public/search
  2. https://dev.twitter.com/rest/public/timelines
  3. https://dev.twitter.com/overview/api/cursoring
  4. https://community.risingstack.com/node-js-twitter-bot-tutorial/
  5. http://stackoverflow.com/questions/25685227/how-to-display-user-profile-image-in-circle
  6. http://2ality.com/2012/07/large-integers.html
  7. http://getbootstrap.com/components/#media-default
  8. https://limonte.github.io/sweetalert2/
  9. https://github.com/sroze/ngInfiniteScroll

About

A MEAN Stack based Application for showing tweets from a #tag

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published