title: Cannot retrieve reddit user identity
body: <p>I need only to authenticate Reddit users in to my website (in php). I'm using simple file_get_contents with stream_context_create for headers. I have already implemented Facebook user authentication.</p>
  
  <p>For Reddit, I can successfully get an access_token. But when I GET request /api/v1/me with that access_token, I'm always getting HTTP/1.1 403 Forbidden.</p>
  
  <p>Please Help.</p>
  
  <p>This is the php code I'm using after I receive access_token</p>
  
  <pre><code>$opts = array('http' =&gt;
      array(
      'method'  =&gt; 'GET',
      'header' =&gt; 'Authorization: bearer '.$result-&gt;access_token)
  );
  $context  = stream_context_create($opts);
  $result = file_get_contents('https://oauth.reddit.com/api/v1/me', false, $context);
  </code></pre>
  
  <p>Is there anything I'm missing..</p>
  
  <p>Here is the var_dump</p>
  
  <pre><code>array(7) {
    [0]=&gt;  string(22) "HTTP/1.1 403 Forbidden"
    [1]=&gt;  string(24) "Server: cloudflare-nginx"
    [2]=&gt;  string(35) "Date: Sun, 23 Nov 2014 06:XX:XX GMT"
    [3]=&gt;  string(38) "Content-Type: text/html; charset=UTF-8"
    [4]=&gt;  string(17) "Connection: close"
    [5]=&gt;  string(139) "Set-Cookie: __cfduid=XXXXXXXX; expires=Mon, 23-Nov-15 06:XX:XX GMT; path=/; domain=.reddit.com; HttpOnly"
    [6]=&gt;  string(28) "CF-RAY: XXXXXXXXX-XXX"
  }
  </code></pre>