title: wget for fetching Facebook profile/friend pages
body: <p>I am trying to fetch facebook a user's profile page using "wget" but keep getting a non-profile page called "browser.php" which has nothing to do with that particular user. The profile page's URL as I see in the browser happens to be of the following format:</p>
  
  <p><em>http://www.facebook.com/user-name</em> </p>
  
  <p>and that's what I have been using as the argument to the wget command:</p>
  
  <p><em>wget <a href="http://www.facebook.com/user-name" rel="noreferrer">http://www.facebook.com/user-name</a></em></p>
  
  <p>I am also interested in using wget to fetch a user's friends' list but even that is giving me the same unhelpful result ("browser.php"):</p>
  
  <p><em>wget <a href="http://www.facebook.com/user-name?sk=friends&amp;v=friends" rel="noreferrer">http://www.facebook.com/user-name?sk=friends&amp;v=friends</a></em></p>
  
  <p>Could someone kindly advise me what I'm doing wrong here? In other words, am I missing out some key options for wget command or does wget not fit such a scenario at all? </p>
  
  <p>Any help will be greatly appreciated. </p>
  
  <p>To add context to this query, I need to figure out how to fetch these pages from Facebook using wget as it would then help me write a script/program to look up friends' profile URLs from the HTML source code and then look up some other keywords on them, etc. I am basically hoping that this would help me in doing some kind of selective-crawling (with Facebook's permission of course) of people I am not connected to.</p>