On 12 Jun 2012, at 14:59, Toby Jaffey <[email protected]> wrote:

> On Tue, Jun 12, 2012 at 02:27:04PM +0100, [email protected] wrote:
>> On the topic of streaming and HTTP etc I'll also throw
>> http://knolleary.net/2012/04/04/streaming-tweets-to-mqtt/ into the
>> discussion.
> 
> Thanks Andy, that's very interesting. I looked at Twitter's streaming API, but
> afaict it's only useful for non-browser apps.
> 
> They talk about using a single HTTP request and getting back an infinitely 
> long
> document (with some delimeters).
> 
> https://dev.twitter.com/discussions/3022
> "You need to use raw sockets to consume the streaming API."
> 
> But, without websockets I don't think this is possible with XmlHttpRequest().
> eg. http://stackoverflow.com/questions/3312616/utilizing-twitters-streaming-

For what it is worth I have a twitter to mqtt bridge running on 
test.mosquitto.org, that uses the streaming API.

If you would like any accounts or keywords added, let me know. Source code is 
here:

https://github.com/njh/twitter-stream-to-mqtt


nick.
_______________________________________________
Mailing list: https://launchpad.net/~mqtt-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mqtt-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to