title: Facebook Graph API Timeout
body: <p>I've a Canva app built in C# .NET. To request the Graph API, I use the Facebook C# SDK (<a href="https://github.com/facebook/csharp-sdk" rel="nofollow">https://github.com/facebook/csharp-sdk</a>).</p>
  
  <p>We updated it with the following request modifications:</p>
  
  <pre><code>request.KeepAlive = false;
  request.ProtocolVersion = HttpVersion.Version10;
  request.Timeout = 1000 * 30;
  </code></pre>
  
  <p>Sometimes, the requests are very fast (<strong>~1.5s</strong>), but sometimes (very often), the same request from the same server take <strong>more than 30s</strong> (response time got with Wireshark).</p>
  
  <p>Note that my requests are pretty simple ("/[user_id]").
  Note also that we tried on several platform (from Amazon servers, rackspace, home...) and we got the same results.</p>
  
  <p>Does someone experciences such latency or someone has an idea how to avoid it?</p>
  
  <p>I saw in Graph API documentation that there can be latency, but 30s... it's not what I call a latency :)</p>
  
  <p>Thank you for your help</p>