title: How to send a facebook notification to a user using curl without facebook SDK
body: <p>I tried the following with the following output from Facebook since this requires a post.</p>
  
  <pre><code>$ch = curl_init('https://graph.facebook.com/appUserId/notifications?access_token=*****&amp;href=index.php&amp;template=test');
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt($ch,CURLOPT_POST, 1);
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  $response = curl_exec($ch);
  var_dump($response);
  var_dump(json_decode($response));
  </code></pre>
  
  <p>Then from this i get the following, What might i be doing wrong?</p>
  
  <pre><code>string '&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"
     xml:lang="en" lang="en" id="facebook"&gt;
    &lt;head&gt;
      &lt;title&gt;Facebook | Error&lt;/title&gt;
      &lt;meta http-equiv="Content-Type"  content="text/html; charset=utf-8" /&gt;
      &lt;meta http-equiv="Cache-Control" content="no-cache" /&gt;
      &lt;meta name="robots"              content="noindex,nofollow" /&gt;
      &lt;style type="text/css"&gt;
        html, body {
          margin:      '... (length=2131)
  null
  </code></pre>