[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SIGMusic] Twitter stream in node.js
- To: SIGMusic-l@xxxxxxxxxxxx
- Subject: [SIGMusic] Twitter stream in node.js
- From: Scott Walters <srwalte2@xxxxxxxxxxxx>
- Date: Thu, 12 Apr 2012 11:07:20 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=uN6rvhrIWE5DxcjPH6N+hRLEDGJYEcIdgaktrL98F3A=; b=S3g2VnVm6JKu79VNhvpNabywuUoh1xyjHbe7BbS5ujvrft7R9hpVVAxFDbR6yJkJvr 7VFtk55fyCwHkDnIaVSu0M7GkyJUwXxXAvj8oZsOgd91jiD5OvpgPEYBHStLXFqNBD+b 2S4vjaE7N8NIW4RxcccjU4KVpUM6dbmEOVF6gzwU5v0ot+ii3BKm27Qcyp5gVMKIYlPM WS1Y9K64D1tEo+8OK+AXnTblc5cw+O2j6RxwRblHpYMOMqsNyPQ1qzP9yG7SNOJZ9VDf ejnYCMdM6K32G47RWUSjeRVsyzV2VG3u/Mq8LggxmtrZvvt5/ssG3b9S+3JnSVmgEgFs HAdw==
- Sender: scowalt@xxxxxxxxx
Attached is a sample twitter streamer written in node.js.
"start" prompts for a search term and returns tweets with that term
"stop" stops the application
Currently, there is no way to stop the stream once it's started (still looking for a way to do that). Next step is to do the actual tweet analysis.
Any suggestions for what's already there?
Thanks!
(P.S. You will need to install nTwitter using "npm install ntwitter" to get this running)
--
Scott Walters (srwalte2@xxxxxxxxxxxx)
Undergraduate in Computer Science
University of Illinois at Urbana-Champaign
Attachment:
app.js
Description: JavaScript source