Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The response you're seeing is an empty response which doesn't necessarily mean there's no metric data available. A few ideas what might cause this:</p> <ul> <li>Are you using a user access token? If yes, does the user own the page? Is the 'read_insights' extended permission granted for the user / access token? How about 'offline_access'?</li> <li>end_time needs should be specified as midnight, Pacific Time.</li> <li>Valid periods are 86400, 604800, 2592000 (day, week, month)</li> <li>Does querying 'page_fan_adds' metric yield meaningful results for a given period?</li> </ul> <p>While I haven't worked with the insights table, working with Facebook's FQL taught me not to expect error messages, error codes but try to follow the documentation (if available) and then experiment with it...</p> <p>As for the date, use the following ruby snippet for midnight, today:</p> <pre><code>Date.new(2010,9,14).to_time.to_i </code></pre> <hr> <p>I also found the following on the Graph API documentation page:</p> <blockquote> <p><strong>Impersonation</strong></p> <p>You can impersonate pages administrated by your users by requesting the "manage_pages" extended permission.</p> <p>Once a user has granted your application the "manage_pages" permission, the "accounts" connection will yield an additional access_token property for every page administrated by the current user. These access_tokens can be used to make calls on behalf of a page. The permissions granted by a user to your application will now also be applicable to their pages. (<a href="http://developers.facebook.com/docs/api" rel="nofollow noreferrer">source</a>)</p> </blockquote> <p>Have you tried requesting this permission and use &amp;metadata=1 in a Graph API query to get the access token for each account?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload