skip to Main Content

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

Facebook api – Facebook Messenger Platform Send API unexpected internal error

I'm working on my framework for Facebook Messenger Platform Send API and I've got this error when trying to create an Airline Itinerary Template (https://developers.facebook.com/docs/messenger-platform/send-api-reference/airline-itinerary-template): { "error": { "message": "(#-1) Send API unexpected internal error", "type": "OAuthException", "code": -1, "fbtrace_id":…

VIEW QUESTION

Facebook api – React Native fetch Network request failed iOS

I'm trying to send a GET request to the Facebook Graph API using fetch: var url = "https://graph.facebook.com/v2.7/" +FACEBOOK_APP_ID +"?fields=context" +"{friends_using_app{id,name,picture.type(normal)}}" +"&access_token="+_this.props.user.facebook_access_token; fetch(url) .then((response) => response.json()) .then((responseJson) => { console.log(responseJson); }) .catch(function(error) { console.log(error); }); But I'm getting TypeError: Network…

VIEW QUESTION
Back To Top
Search