How to use facebook api graph as a url?

I get success on Graph API Explorer like in image https://i.imgur.com/0UbLNej.png Then i tried to use as URL to do like this. https://graph.facebook.com/?method=GET&path=5550296508_10157403661361509%2Fattachments&version=v2.10/access_toke...
more »

2017-10-04 16:10 (1) Answers

trying to empty the textarea after FB logout

The following is the code, I am using to empty the textarea after I logout of the facebook using graph API: <div id="fb-root"></div> <script> function getUserData() { FB.api('/me', {fields: 'email, posts,about'}, function(res...
more »

2017-10-04 10:10 (0) Answers

Facebook Graph API V2.10

According to the facebook documentation after, 90 days I wont be able to reply comments using the API. Is my understanding correct? Checkout the facebook documentation comment: 90-day Deprecations in Graph API v2.10 POST and DELETE operati...
more »

2017-10-04 01:10 (1) Answers

Request POST for Facebook in My Profile

I will try to be as specific as possible. I am trying to make a request by POST method to publish a certain link in my profile. I've used the Facebook API, but it's not what I need. I need to do this: Image of Share a Guide When I click click publi...
more »

2017-09-27 18:09 (0) Answers

Can't get my FB events whereas I have some

I design an app who retreive my facebook's event. I successful connect to my account, I request "/me/events", FB responds 200 with data: [] but when I log myself on Facebook, I can see I have 2 events incoming. What did I missed ? Here is some piece...
more »

2017-09-27 15:09 (0) Answers

FB SDK - Update AdCreative url_tags

I'm trying to update FB ad's url_tags using FB SDK (2.10.0). The following code doesn't seems to have any affect on the ad. Not sure what I'm missing .. (the response is {"success" : true}) APIContext context = new APIContext(faceBookToken)...
more »

2017-09-27 13:09 (0) Answers

Unable to use search api of Facebook in php

I am trying to use Search API of Facebook in php, i have used it's Facebook Sdk Latest version, but it is throwing the following error: Fatal error: Call to undefined method Facebook\Facebook::api() here is what i have tried so far: require_on...
more »

2017-09-27 12:09 (0) Answers

Create Lookalike audience using Facebook API

I want to create a Lookalike Audience using Facebook API. This my code: public override SocialAudience CreateCustomAudience(SocialAudience SAudience) { string access_token = GetAccessToken(SAudience.AdAccount.FacebookUser); FC.AccessToken = ...
more »

2017-09-27 12:09 (0) Answers

Facebook Graph API: search people by city

I'm trying to find people either from particular city or who live in that city. Is there an API for this purpose? When I use Facebook page, I can type in "People who live in Rome, Italy" (which is translated to URL https://www.facebook.com/search/11...
more »

2017-09-26 21:09 (1) Answers

Facebook Marketing API targeting to post id

I am building some platform for advertising automatization using Facebook Marketing API. Now I am trying to execute Ad creation. But i have proplem with API Let imagine , i have post id (caption with many likes and share) , so i want using this post...
more »

2017-09-26 14:09 (0) Answers

Get some metrics with video_insights FACEBOOK API

I need to get some metrics from a video. For example suppose to get total_video_views from my video. Now I use Facebook Graph API to test my operation. So I create this link ([video_id]/video_insights/total_video_views): 10155205658108477/video_in...
more »

2017-09-26 10:09 (0) Answers