Created
December 13, 2012 19:10
-
-
Save joshellington/4278857 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fb_query = { | |
:impressions => "SELECT value FROM insights WHERE object_id='#{post_id}' AND metric='post_impressions' AND period=0", | |
:impressions_unique => "SELECT value FROM insights WHERE object_id='#{post_id}' AND metric='post_impressions_unique' AND period=0", | |
:consumptions => "SELECT value FROM insights WHERE object_id='#{post_id}' AND metric='post_consumptions' AND period=0", | |
:consumptions_unique => "SELECT value FROM insights WHERE object_id='#{post_id}' AND metric='post_consumptions_unique' AND period=0", | |
:stories => "SELECT value FROM insights WHERE object_id='#{post_id}' AND metric='post_stories' AND period=0", | |
:storytellers => "SELECT value FROM insights WHERE object_id='#{post_id}' AND metric='post_storytellers' AND period=0", | |
:engaged_users => "SELECT value FROM insights WHERE object_id='#{post_id}' AND metric='post_engaged_users' AND period=0", | |
:negative_feedback => "SELECT value FROM insights WHERE object_id='#{post_id}' AND metric='post_negative_feedback' AND period=0" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment