I searched a lot, read many blogs, articles, tutorials. But still there is no straight forward solution to my thought about reading facebook URL in java.

I know that I have to use OAuth, some other autorizations. All of them explains for the app login only.

I am reading this Url <https://www.facebook.com/mohan.sunder.12> in my Java code using `URLConnection`. 

I am reading the response from the connection in html file.Then, I am opening the html file in browser, but the page shows only login page of facebook.

How do I see this page as it is from java code.