title: Error: Missing redirect_uri parameter. ( website login with facebook)
body: <blockquote>
    <p>stdClass Object ( [error] => stdClass Object ( [message] => Missing
    redirect_uri parameter. [type] => OAuthException [code] => 191 ) )</p>
  </blockquote>
  
  <p>I get this message when I send access_token to graph.facebook.com/oauth/me</p>
  
  <pre><code>if($result){
          print_r(get_data($result));
      }
  
  function get_data($token){
      $ku = curl_init();
      $query = "access_token=".$token;
  
      curl_setopt($ku, CURLOPT_URL, "graph.facebook.com/oauth/me?".$query);
      curl_setopt($ku, CURLOPT_RETURNTRANSFER, TRUE);
      $result = curl_exec($ku);
  
      return json_decode($result);    
  }
  </code></pre>