tags:

views:

35

answers:

0

I tried to login Facebook using Web-Harvest. I used the following xml code to login

<?xml version="1.0" encoding="UTF-8"?>
<config charset="ISO-8859-1">
<file action="write" path="homepage.xml" charset="UTF-8">
<html-to-xml>
<http method="post" url="http://www.facebook.com/login.php" cookie-policy="browser">
    <http-param name="email">myemail</http-param>
    <http-param name="pass">mypassword</http-param>
</http>
</html-to-xml>
</file>

The homepage.xml (output) file contains the xml code for the login page of facebook along with the following lines:

<h2 class="main_message" id="standard_error">Cookies Required</h2>
<p class="sub_message" id="standard_explanation">Cookies are not enabled on your browser. Please adjust this in your security preferences before continuing.</p>

I tried all the allowed values for cookie-policy in the http processor of the xml code but was unsuccessful.