2

I am planning to make a web application which will just show me all the tweets for a specific trending topic. For example, if I have #WebTech #SEO #SHARE, I want to see all the tweets for this trend. Can you tell me how to get along with it? I have knowledge about programming and I would like to make it using the JavaScript APIs may be using the REST in JavaScript. Please let me know the API and the method in which I can do this. I don't want to authenticate a user. I just want to show them the trending topics. Please help.

Smi
  • 13,850
  • 9
  • 56
  • 64
Shiv Kumar Ganesh
  • 3,799
  • 10
  • 46
  • 85

1 Answers1

4

I prefer the streaming API for stuff like this.

If your interested in the streaming API, it can be used for this but will requires quite a bit of work to really get it to be good enough for production.

However you would have to use a server side language to open the stream so it will be secure and parse the json into a database or straight json file. You could then have javascript use these as a data source.

These resources are invaluable for getting started with the streaming API.

PHP READING STREAM

http://hasin.wordpress.com/2009/06/20/collecting-data-from-streaming-api-in-twitter/

TWITTER STREAM API

https://dev.twitter.com/docs/streaming-api/methods#track

Caimen
  • 2,623
  • 2
  • 26
  • 43