Skip to content

vitoravelino/twitter-live-feed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

twitter live feed

Monitoring real-time content on twitter.

Demo

Requirements

Cloning the repo

$ git clone [email protected]:vitoravelino/twitter-live-feed.git
$ cd twitter-live-feed

Configuring .env

In order to run the server, you'll need to rename or copy .env.sample to .env and set the keys and access tokens from your Twitter API account.

Running locally

After setting the .env, all you gotta do is install the dependencies and run the npm task to start the servers. Run the commands below on both folders (server/ and client/):

$ yarn install
$ yarn run dev

It will install the dependencies and run the servers. After that you'll be able to access the demo at http://localhost:8080.

Twitter Rate Limit

Everytime a new hashtag is requested on the client, another request is done to Twitter Stream API. You gotta be aware that the stream api use is very restrict. If you don't see any new tweet coming, check if there's a 420 error on server console. That indicates that stream request was blocked due rate limit.

More info at Twitter Stream documentation.

About

Monitoring real-time content on twitter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published