how to get information from pages, which need authorization
-
Hi, guys. Its the question. How can i get page, which need authorization(using known username and password). For example, how to get my new messages in FaceBook? I can parse it of course to get exactly what I need, but how can I get it? Sorry, if it's stupid question. I'm just learning. Thanx.
-
Hi, guys. Its the question. How can i get page, which need authorization(using known username and password). For example, how to get my new messages in FaceBook? I can parse it of course to get exactly what I need, but how can I get it? Sorry, if it's stupid question. I'm just learning. Thanx.
Write a screen scraper that sends a HTTP POST request to the site. The POST request should contain the user's login details. You would need to know how the login form submission works on the site, i.e. what the format of the POST request should be. You can then scrape the HTTP response to get your messages.
Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush