title: How execute a FQL Insights query with Facebook Graph API
body: <p>I try without success to execute a FQL query using Graph API to get the value of Insights counters.</p>
  
  <p>Does anyone know how I can do this?</p>
  
  <p>I use "Facebook C# SDK" version 5.4.1, C# 4.0.</p>
  
  <p>If I use C# sample code provided in the documentation  </p>
  
  <pre><code>    var fb = new FacebookClient(m_accessToken);
      dynamic result = fb.Query("SELECT name, uid FROM user WHERE uid= me()");
  </code></pre>
  
  <p>I receive a good response</p>
  
  <pre><code>{"name":"","uid":100002632407830}
  </code></pre>
  
  <p>With the same syntax, If I request "pages_fans" Insights counter and use <strong>library 5.4.1</strong></p>
  
  <pre><code>var fb = new FacebookClient(m_accessToken);
    dynamic result = fb.Query("SELECT metric, value FROM insights WHERE object_id=6176018219 AND metric='page_fans' AND end_time=end_time_date('2011-12-31') AND period=period('lifetime')");
  </code></pre>
  
  <p>I receive always an empty response</p>
  
  <pre><code> {[]}
  </code></pre>
  
  <p><strong>With the same code but with library 5.2.1</strong>
  I receive always a good response</p>
  
  <pre><code> {[{"metric":"page_fans","value":"125535"}]}
  </code></pre>
  
  <p>It is the same problem described here : <a href="https://stackoverflow.com/questions/8602419/error-with-fql-query-with-library-5-4-1">Error with FQL query with library 5.4.1</a> but with another syntax.</p>
  
  <p>Currently I use FQL Insights queries using REST API (with libary 5.2.1) but I want to migrate to FQL Insights queries using the Graph API (with library 5.4.1) because the REST API is deprecated.</p>
  
  <p>Where is the bug:</p>
  
  <ol>
  <li>In my syntax request?  </li>
  <li>In the "Facebook C# SDK" library?</li>
  <li>On Facebook server?</li>
  </ol>
  
  <p>Best regards.</p>