defly / tweereal

real-time twitter activity map (node.js)
tweereal.com
86 stars 15 forks source link

keep placed tweets, save data #2

Open tijevlam opened 11 years ago

tijevlam commented 11 years ago

Is it possible to keep the shown tweets on the map as dots, and is it possible to save the tweets in a database? im trying to maybe use this for an academic project (dataschool.nl)

tijevlam commented 11 years ago

i guess keeping them on the map is possible with the lifetime-settings, which probably is long enough. On the other question i'm still wondering. Plus 1 more question: is it possible to filter the tweets on (multiple) hashtags/keywords, to show only those referring to the query?

defly commented 11 years ago

In current version it's not possible to save tweets to DB (no sense for my data visualization) or filter by hashtags. But if you familiar with Node.js/JavaScript it's not hard to do (you can investigate how to extract data from Twitter Streaming API with help of my code).

tijevlam commented 11 years ago

hey!

im starting to get to know the streaming api so the filtering issue would be no problem. But im new to node js. I forked your git to my computer (osx) and think ive installed all dependencies. but how do i install your app. and how do i start it? i cant figure out with file to run like node server.js , could you help me out here?

defly commented 11 years ago

Unfortunately current code not in plug and play state now. It's not easy to run app like "node server.js". There are web-server express.js and Twitter Streaming API handler restreamer.js, which communicate through Redis PubSub.