views:

1409

answers:

4
+1  Q: 

Java Orkut Login

I want the pagesource of home page of ORKUT (http://www.ORKUT.com) in java.

But it needs to be logged in to the ORKUT before accessing any page of it. How can I do it. It should not involve browser in between

+2  A: 

You should have a look at the Commons HTTP Client. With it you can send a POST request with your login data and then use the session ID for further processing.

Daff
A: 

Two ways of doing that:

1) Buy Octazen that will do that for you and keep the library updated every time Orkut changes something.

2) Use watir to hijack the browser.

Doing with HTTP Client is like fixing a watch with boxing gloves under the water. It does not support JS, you have to work your way through the cookies, parsing, etc.

Sergio Oliveira Jr.
I don't want to involve browser.
Yatendra Goel
And I think watir involves browser
Yatendra Goel
I think you can hide the browser while executing. Anyways... So dive in the cookies and JS. :-)
Sergio Oliveira Jr.
+3  A: 
Rubens Farias
Nice.. Excellent Code
Jeeva S
A: 

Thanks for this info it help me :)

http://orkutlogin.net

tom
there is nothing interesting on this link related to the question
darlinton