skip to Main Content

Facebook api – can't exchange token manually v2.7

I'm using Loopback and I'm trying to user auth for graph api without javascript sdk or passport I got the code successfully however I can't exchange it with access token I followed this guide https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow/#confirm my get request is https://graph.facebook.com/v2.7/dialog/oauth?code={xxxx}&client_secret={xxxx}&client_id={xxx}&redirect_uri={myURL}…

VIEW QUESTION

Facebook api – Angular Controller/Provider setup not exposing variable to front-end

I'm trying to learn Angular by setting up a basic app that uses Facebook's JS API. Here is what I have so far: index.html: <!DOCTYPE html> <html ng-app="app"> <head> <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> <script src="http://connect.facebook.net/en_US/all.js"></script>…

VIEW QUESTION

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