How does one import data from an URL which requires login?
How do we proceed if the login is done through another site e.g. Facebook?
How does one import data from an URL which requires login?
How do we proceed if the login is done through another site e.g. Facebook?
Hi, everyone!
Not so long time ago, I was able to login on facebook and get the data I was interested in following the procedure described by WReach here:
http://mathematica.stackexchange.com/questions/2362/how-to-manipulate-web-pages-on-mathematica
which for facebook could be summarised in 2 steps:
1 - assign values to the parameters:
$parametersfb = {"email" -> "email@address.com", "pass" -> "password"};
2 - import data given the parameters:
Import["https://www.facebook.com/login.php?login_attempt=1", "Data",
"RequestMethod" -> "POST", "RequestParameters" -> $parametersfb]
This is no longer possible. Can anyone help me understand why?