• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to display 10 most relevant tweets from Twitter in real-time for the keyword "@cldmgc".

 
sreejan kumar
Greenhorn
Posts: 10
Java Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends !!
please help me with the above question..
please tell me how could i display the tweets from twitter in real time.. Is it like searching from the web pages....
please do help me with the codes...
I will use jsp as the language.... and to display the tweets do i have a need of the database ....
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64715
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First of all, what have you done so far? No one here is going to do your work for you, but we'll help you along.

Secondly, JSP is for display, not processing. You'll need to do most of the work in a servlet or other Java class, then use a JSP merely to display the results.
 
sreejan kumar
Greenhorn
Posts: 10
Java Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well I have the url of the web page. Now i have to just search a keyword through that page and display the first 10 results .
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64715
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, so I guess the next thing you need to do is to figure out how to use that URL to get the HTML of the page. Look into the classes of the java.net package, or look into a 3rd party utility such as HttpClient.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic