title: How to scrape a facebook user profile page
body: <p>I like to know how to scrape a facebook user profile page using php. I tried using CURL, fsockopen and file_get_contents but it is not returning the processed HTML page. It just return only the HTML page filled with JS code. It seems that, the facebook loading the page using the Javascript. So, I want to know, how to get the processed HTML page using php.</p>
  
  <p>NOTE: 
  1. logout from facebook.
  2. Hit a user URL eg: <a href="http://www.facbook.com/USERNAME" rel="nofollow">http://www.facbook.com/USERNAME</a></p>