title: Login to Facebook using python requests
body: <p>I'm trying to find a way to automatically login to Facebook without browser using Python. I experimented with "requests" lib. Tried several ways:</p>
  
  <pre><code>URL = 'http://m.facebook.com'
  requests.get(URL, auth = ('email@domain.com', 'mypassword'))
  </code></pre>
  
  <p>...</p>
  
  <pre><code>form_data = {'email': 'email@domain.com',
               'pass' : 'mypassword'
              }
  requests.post(URL, data = form_data)
  </code></pre>
  
  <p>...</p>
  
  <pre><code>requests.post(URL + '?email=email@domain.com&amp;pass=mypassword')
  </code></pre>
  
  <p>The last method fills "email" box on a page but "pass" box remains empty...</p>
  
  <p>Could someone help me with this please? Is it possible to emulate FB login using requests?</p>
  
  <p>Thanks!</p>