skip to Main Content

Facebook api – Facebook Marketing API: Is it possible to filter insights by status

I am trying to filter adsets insights by adset status, but when I add a status filter, I get an empty dataset back: curl "https://graph.facebook.com/v2.7/act_<redacted>/insights?fields=clicks,impressions,cpc,ctr,account_id&time_range%5Bsince%5D=2016-01-12&time_range%5Buntil%5D=2016-09-12&access_token=<redacted>&format=json&filtering=%5B%7B%22field%22:%22status%22,%22operator%22:%22EQUAL%22,%22value%22:%22ACTIVE%22%7D%5D&level=adset" here is what filtering param looks like before it gets url-encoded: [{"field":"status","operator":"EQUAL","value":"ACTIVE"}] I have tried…

VIEW QUESTION

Facebook api – Facebook like count url

As Facebook changed their API and deprecated the old one, I need to get data (likes count, share count, comment count) about single pages. I figured out how to get data over Facebook graph (example link): https://graph.facebook.com/?fields=og_object{likes.limit(0).summary(true)},share&ids=http://www.businessinsider.com/airlines-dont-disclose-carrier-fee-that-inflates-ticket-prices-2016-9 But now I…

VIEW QUESTION

Facebook api – Account Kit: Error verifying the token in the 'access_token'

I'm trying to retrieve an access token for an authentication code. I'm using the following format: GET https://graph.accountkit.com/v1.0/access_token?grant_type=authorization_code&code=AUTH_CODE&access_token=AA|APP_ID|APP_SECRET where AUTH_CODE, APP_ID, and APP_SECRET are their respective values. Here is the python I use to assemble this URL: url = 'https://graph.accountkit.com/v1.0/access_token?grant_type=authorization_code&code='…

VIEW QUESTION
Back To Top
Search