IIRC, you'll need to wrap wget with cat/sed commands to capture an auth token in addition to using a Firefox cookie. You should be able to study it using the Live HTTP Headers Firefox extension. Use -O- to get the output.
It's probably not worth it at this point. AFAIKT, all the information that is available to you is available through their various APIs, and they proactively try to stop people from spidering. My roommate studies online communities in disaster situations, and the spider I wrote for her got her banned twice (they unbanned her both times). Just use the APIs. On Dec 9, 2007 10:17 AM, Khanh Nguyen <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to use wget to authenticate into facebook. I tried > > wget --user-agent=Mozilla/5.0 --save-cookies c.txt --post-data > '[EMAIL PROTECTED]&pass=pass' http://www.facebook.com/login.php > > and > > wget --user-agent=Mozilla/5.0 --load-cookies > /home/XXXXX/.mozilla/firefox/XXXXXX.default/cookies.txt > http://www.facebook.com/login.php > > but none seems to work. > > Any help would be really appreciated. Thanks. > > -k > > p/s: I am not subscribed, please cc the response if you could. Thanks >