• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 10
Netbeans IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ....
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Netbeans IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic