title: Facebook api graph access token
body: <p>there is any way to get the access token automatically with python using login informations ? </p>
  
  <p>Something like this : </p>
  
  <blockquote>
    <p>import requests</p>
    
    <p>r=requests.get('<a href="https://graph.facebook.com/oauth/access_token?grant_type=get_token&amp;" rel="nofollow">https://graph.facebook.com/oauth/access_token?grant_type=get_token&amp;</a>
    client_id=idclient_secret=password&amp;privilege=')</p>
    
    <p>print r.text</p>
  </blockquote>