title: How to get user access token from Facebook API with curl
body: <p>I am writing a program that retrieves our marketing data from facebook. the program i am writing can only use curl to retrieve the user access token and there is no UI, the only info I found is to call this url</p>
  
  <pre><code>Curl('https://graph.facebook.com/oauth/authorize?client_id=1534273216862757&amp;response_type=token&amp;redirect_uri=https://www.facebook.com/connect/login_success.html','GET')
  </code></pre>
  
  <p>However, when I send this, i get back the entire html of the redirect page and no token. </p>
  
  <p>do you know of another way I can accomplish this?</p>
  
  <p>thanks</p>