title: Facebook Graph API error "Received Invalid JSON reply"
body: <p>we are using Facebook Graph API to implement Facebook sharing from our web application.</p>
  
  <p>We are calling graph API to re-scrape url to be shared using post request as  below:</p>
  
  <pre><code>$jq.ajax({
          type: 'POST',
          url: 'https://graph.facebook.com/?id'+rescrapeUrl,
          data : {scrape: true},
              success: function(data){
                console.log(data); 
             },
           error: function(data) {
              console.log(data);     
           }
        });
  </code></pre>
  
  <p>We received response:</p>
  
  <pre><code>{
    "error": {
      "code": 1,
      "error_subcode": 1357046,
      "message": "Received Invalid JSON reply.",
      "type": "http"
    }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/FLdUw.png" rel="nofollow noreferrer">Facebook Graph API Response</a></p>
  
  <p>We tried scraping the same URL using web interface
  <a href="https://developers.facebook.com/tools/debug/og/object/" rel="nofollow noreferrer">https://developers.facebook.com/tools/debug/og/object/</a> </p>
  
  <p>and it scraps successfully.</p>
  
  <p>Thank you in advance.</p>