aspose file tools*
The moose likes JSP and the fly likes How to display 10 most relevant tweets from Twitter in real-time for the keyword Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "How to display 10 most relevant tweets from Twitter in real-time for the keyword "@cldmgc"." Watch "How to display 10 most relevant tweets from Twitter in real-time for the keyword "@cldmgc"." New topic
Author

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

sreejan kumar
Greenhorn

Joined: Aug 29, 2009
Posts: 10

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

Joined: Jan 10, 2002
Posts: 61601
    
  67

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
sreejan kumar
Greenhorn

Joined: Aug 29, 2009
Posts: 10

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

Joined: Jan 10, 2002
Posts: 61601
    
  67

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to display 10 most relevant tweets from Twitter in real-time for the keyword "@cldmgc".