title: How to get "Graph API Object ID" for cURL to Linter tool?
body: <p>I'm trying to ping the Facebook linter using the following script which accepts a URL. </p>
  
  <p>It keeps giving me the error:</p>
  
  <pre><code>{
    "error":{
      "message": "(#803) Some of the aliases you requested do not exist: http\u00253A\u00252F\u00252Fgoogle.com",
      "type":"OAuthException",
      "code":803
    }
  }
  </code></pre>
  
  <p>If I go to the actual linter tool though, and put in <code>http://google.com</code>, at the bottom it will generate a URL that looks like this:</p>
  
  <p><code>https://graph.facebook.com/381702034999</code></p>
  
  <p>If I take that ID and put it back into my code in place of a URL suddenly it works.</p>
  
  <p>How do I go about doing this? It should take a URL as input:</p>
  
  <pre><code>&lt;?
  
    $url = urlencode($_GET['url']);
  
    $access_token = "APP_ID|APP_SECRET";
    $params = array(
      'id' =&gt; $url,
      'scrape' =&gt; 'true',
      'access_token' =&gt; $access_token
    );
  
    $ch = curl_init("https://graph.facebook.com");
    curl_setopt_array($ch, array(
      CURLOPT_RETURNTRANSFER =&gt; true,
      CURLOPT_SSL_VERIFYHOST =&gt; false,
      CURLOPT_SSL_VERIFYPEER =&gt; false,
      CURLOPT_POST           =&gt; true,
      CURLOPT_POSTFIELDS     =&gt; $params
    ));
  
    $result = curl_exec($ch);
  
    echo $result;
  </code></pre>