Live data from Hacker News

Real-time geolocated tweets

pure-waterfall-1016.herokuapp.com

1–9 of 9 posts

Re: Real-time geolocated tweets

#8

Something is broken, at least for me. It always resorts to XHR-polling instead of websockets. http://pure-waterfall-1016.herokuapp.com/socket.io/1 Always returns xhr-polling method which really isn't ideal for this.

It's not broken. Heroku free plan doesn't allow for websockets. The demo code on https://github.com/danzajdband/Tuiter/tree/master/examples/m... it's prepared to use webosockets first.

Re: Real-time geolocated tweets

#9

Something is broken, at least for me. It always resorts to XHR-polling instead of websockets. http://pure-waterfall-1016.herokuapp.com/socket.io/1 Always returns xhr-polling method which really isn't ideal for this.

It's not broken. Heroku free plan doesn't allow for websockets. The demo code on https://github.com/danzajdband/Tuiter/tree/master/examples/m... it's prepared to use webosockets first.

Ah, well that sucks but explains why it was occurring :)