title: facebook pages scraping need login
body: <p>I am scraping the facebook pages data, but to access all the data I need to log in to my account I am using.</p>
  
  <pre><code>import wget
  from bs4 import BeautifulSoup
  url = "https://www.facebook.com/hellomeets/events"
  
  down = wget.download(url)
  
  f = open(down, 'r')
  htmlText = "\n".join(f.readlines())
  f.close()
  print htmlText
  </code></pre>
  
  <p>How do I log in to my account and scrape all the data of pages?</p>