Questions tagged [facebook-graph-api-v2.4]

The primary way for apps to read and write to the Facebook social graph.

The fifth versioned API release, which gives developers more control over when and how they opt into new features. Graph API v2.4.

57 questions
14
votes
2 answers

Facebook Graph Api Insights Filtering Param Usage

For filtering param, This page demo-ed IN and CONTAIN, https://developers.facebook.com/docs/marketing-api/insights/v2.4#filtering curl -G \ -d "filtering=[{'field':'adgroup.delivery_info','operator':'IN','value':['archived']}]" \ -d…
mitnk
  • 3,127
  • 2
  • 21
  • 28
8
votes
2 answers

Facebook Graph API - getting daily spend per ad set

I’m trying to get the daily spend per ad set for all our ad accounts. We’re spending lots of money with Facebook and Finance wants to see where it is going. Basically, I’m looking each day to get the spend per ad set for yesterday. The problem is,…
6
votes
1 answer

Unable to get Facebook's lead ads sent over to our subscribed endpoint

I'm currently attempting to get Facebook to send over all leads as they're registered in real time to a subscribed endpoint. Facebook mentions in their documentation that this is possible by setting up a realtime update from the new lead ads…
Lee Davis
  • 4,685
  • 3
  • 28
  • 39
5
votes
1 answer

How to get the number of video's views in facebook

i'm using facebook graph api to get global video views first and then i want to try for individual ones but when i try this syntax: GET /v2.5/{object-id}/insights/page_video_views? i got this as an answer: { "data": [ ], "paging": { …
2
votes
0 answers

python social_auth facebook can't get extra scopes

I'm using social_auth in my django project in order to provide facebook login. I'm trying to get the user email. Note that i'm testing it locally. I can see the email being supplied from facebook in the popup but it appears to be empty in my custom…
2
votes
2 answers

Facebook Graph Api: How to get a subset of post insights in nested query of posts

I want to select the specific insights I need from within a nested query I can get the desired fields (post_impressions and post_stories) when searching a single post with its id... /insights/post_impressions,post_stories But can I retrieve…
2
votes
1 answer

Retrieve data from facebook graph API 2.4

Can anyone help me to retrieve data using new Graph Api v2.4 of facebook, previously I was using this url- https://graph.facebook.com/{user-id}/feed?limit=1&locale=en_GB&access_token={access-token} Previously it provides all the data, (provide data…
Anant
  • 534
  • 11
  • 40
1
vote
0 answers

Create test Facebook page

I follow this instruction to create a test Facebook page: https://developers.facebook.com/docs/apps/test-pages/ But by 3. step (post /user_id/accounts to create the test page) I got following error: { "error": { "message": "Unsupported post request.…
1
vote
0 answers

How to continuously poll data from facebook API?

I am creating a simple website which reads messages from a facebook page using facebook javascript sdk and facebook API. I need to continuously read the messages as they arrive in the facebook page?. How do I do this?. If I run it continuously in a…
1
vote
2 answers

Facebook SDK v5 integration with Laravel 5.0

I'm trying to make a guide on how to integrate Facebook SDK v5 with Laravel 5.0. Have anyone done this before? First of all i added "facebook/php-sdk-v4" : "~5.0" in composer.json see documentatione here:…
1
vote
0 answers

Facebook time based pagination gives wrong results

I've looked through Facebook Graph API documentation and a few related topics such as this, this and even this. However I haven't found any solution. I'm trying to analyse comments from this post. As you can see there are dozens of comments under…
Roman Dryndik
  • 1,167
  • 1
  • 13
  • 34
1
vote
1 answer

How to get facebook user info along with post info using graph api

I am trying to fetch visitor posts from a Facebook page using Facebook Graph API. For more info see this: https://developers.facebook.com/docs/graph-api/reference/v2.5/page/feed According to documentation, I am using this:…
Mohit Gupta
  • 109
  • 1
  • 1
  • 11
1
vote
1 answer

Extracting date from Facebook group feed php sdk

I am trying to display the latest group posts from a public group on my website and I'm using the following code to display the raw data, which works fine. try { $response = $fb->get('25366400942/feed?fields=message,updated_time,from'); …
JakobM83
  • 11
  • 1
1
vote
2 answers

get list all groups facebook graph api v2.5 or how to use the v2.3?

well this is my get public GraphResponse Get(String query,Bundle parameters) { final GraphResponse[] respuesta = new GraphResponse[1]; /* make the API call */ new GraphRequest( …
1
vote
3 answers

time_range in faceook insights v2.5 issue

I'm compiling a URL like https://graph.facebook.com/v2.5//insights?since=2015-08-10&until=2015-11-13&time_increment=1&access_token= This query, even in GRAPH explorer, gives back data which is obviously outside the given…
Axel Amthor
  • 10,980
  • 1
  • 25
  • 44
1
2 3 4