Questions tagged [facebook-insights]
Facebook Insights provides developers and Page owners with metrics about their content.
424
questions
0
votes
0
answers
19
views
Facebook insights API: missing field in responses
I'm using the Facebook insights API, but I'm missing inline_link_clicks in some of the responses (although the field does exist in others for the same account). Also, the API does not fail while ...
0
votes
0
answers
29
views
Facebook Insights get_insights_async not fetching all Insights for certain accounts
I am using the below code to pull data for insights of every active account. The problem I am seeing is that the api is not fetching insights for action_values, video_thruplay for certain accounts. ...
0
votes
1
answer
46
views
Display Facebook Page Insights Publicly on Website Using Graph API without Requiring Login, Except for Owner
I am looking to integrate my Facebook Page Insights into my website using the Facebook Graph API. I want to make these insights publicly accessible without forcing visitors to log in, except for the ...
1
vote
0
answers
109
views
FB Marketing API - Outbound_clicks not returned
I'm trying to get insight data for Ads using the FB marketing API.
I notice that the "Outbound_Clicks" field is not returned when I include breakdowns=Description_Asset in my API call. When ...
0
votes
0
answers
43
views
is it possible to retrieve ads metrics and performance from facebook using the video ad id?
We are using this api https://developers.facebook.com/docs/marketing-api/reference/ad-account/advideos/
to upload a video to our ads manager on facebook.
the response from facebook is id.
now, if this ...
0
votes
0
answers
145
views
The way to access reporting API v2.0 has changed (Facebook Graph-API)
My team and I have been trying to connect to the Graph-API (Facebook) for a few days to get access to Audience Network data through our API.
Steps we follow:
Implementation of Facebook Login flow
...
1
vote
0
answers
163
views
How do you use the Facebook Marketing API sandbox to retrieve simulated insights?
I’m working on an application that is going to leverage the Facebook (Meta) Marketing API to retrieve ad campaign insights. I don’t have any real life data to work with so I was hoping to use ‘...
0
votes
0
answers
93
views
Meta graph api post/insights permissions error
I am using Graph API Explorer - Meta for developers to test available APIs on my page.
When testing insights APIs with available metrics, all metrics related to page worked well and returned data. ...
0
votes
0
answers
183
views
Instagram Graph API for Extracting Views Count of Public Profile Posts
I am currently using business_discovery from graph API as the endpoint for extracting basic media details from public/non-owned Instagram profiles. However, one of the major parameter missing from ...
1
vote
1
answer
385
views
How to get the Individual campaign id, For each Campaign ID, having fields Post Engagement, Page Engagement, Link Click
ttps://graph.facebook.com/v14.0/act_XXXXXX/insights?fields=account_name,campaign_id,campaign_name,adset_id,adset_name,ad_id,ad_name,spend,actions&filtering=[{field: "action_type",...
0
votes
1
answer
554
views
Is it possible to GET unfollow count per day from instagram graph API?
I am trying to get follow and unfollow count per day from instagram Graph API.
Tried the metric follows_and_unfollows. It is giving me the following error:
Query used:
accnt_id?fields=insights.metric(...
3
votes
0
answers
104
views
Can the Facebook Marketing API return a list of objects that represent each individual click on an ad, including the FBCLID and spend for each click?
So far I've been able to get an overview of the total number of clicks during a specified time period using the Insights API:
{"impressions":"5547","spend":"160.53&...
0
votes
0
answers
553
views
Show Athena Queries Result on CloudWatch Dashboard
I have some tables in Athena Database that show the well-being of my system. I need to run the query every day to make sure nothing goes down. Is there a way to get it run on its own and show the ...
1
vote
0
answers
458
views
How can I get insight of each level (campaign,adset,ad) in a Facebook ad campaign in single query?
I had created a method to retrieve insight data for each level of the campaign. But the problem is that I use loop to gain insight into each entity, causing my Ad Account-Level Rate Limit to reach its ...
3
votes
1
answer
381
views
How we can Filter the Insight data for multiple specific campaigns in Facebook marketing?
I'm trying to get Insight of an Ad-Account by filtering using multiple specific campaigns, I was able to filter with single specific campaigns
Here is the code which I tried for single specific ...
2
votes
1
answer
356
views
Facebook Graph API - or
Is it possible to give OR filters?
Let's say I do an HTTP GET request, the below will yield an AND filter, where both criteria must be satisfied. Is it possible to change it to OR filter?
'filtering':
...
1
vote
1
answer
478
views
facebook graph api Ad Insights do not return adset_name field
I'm using python for interacting with Facebook Graph API Ad Insights and I'm using a "system user" token to authenticate. I have no problem with any other field but I cannot get data for the ...
4
votes
1
answer
3k
views
Facebook Marketing/Insights API returns OAuthException with error code 100 missing permissions
Lately, the Facebook Marketing API throws an OAuthException error with code 100/missing permissions. When looking into the Facebook Developer App, nothing indicates that the permissions are missing or ...
0
votes
0
answers
35
views
Facebook For Developers- Instagram Platform- Data inconsistent
Hye. My IG insights i pulled from Facebook for developers are inconsistent with my current IG followers. Ex, insight i pulled for audience_gender_age in total is 521 but my current followers on IG is ...
2
votes
0
answers
440
views
Facebook APIs - Looking for a workaround to implement async insights requests for the whole ACT_ID and not for a single ad object
My current requirement is to fetch all Facebook campaigns, adsets, ads, adcreatives and insights and store them locally on a json file.
My current approach is :
Im making a GET call to this endpoint ...
1
vote
1
answer
1k
views
Facebook Business Manager Results metric via API (python)
With python I’m using Insights API in order to get data (at the campaign level) of the facebook business manager report (impressions, clicks etc etc).
I’m using the following code:
from ...
1
vote
1
answer
231
views
How to fetch swipe up count from Instagram story insights graph API?
I need to fetch swipe up count which show in the insights of Instagram.As Facebook is not providing swipe up count through their graph API so how can I get that data.
Scraping won't work as I already ...
1
vote
2
answers
79
views
Python, Pandas DF. Take number from a string and add it to a new column
I got a pandas dataframe where one of the columns have values that look like this:
>>> df['video_p25_watched_actions']
[{'action_type': 'video_view', 'value': '137520'}]
I would like to ...
0
votes
1
answer
214
views
What is difference between the Facebook API Insights "post_video_views" and "total_video_views" metrics?
Both of these are metrics used on a video for a page. How you fetch these metrics is slightly different.
So both of these are used to show "The number of times your videos played for at least 3 ...
1
vote
1
answer
465
views
Retrieving field `conversions` from fb marketing API
I am using fb marketing api to retrieve the insights.
request format
v8.0/{account_id}/insights?level=ad&date_preset=last_30d&action_attribution_windows=['28d_click','28d_view']&fields=...
1
vote
0
answers
416
views
Facebook API campaign insights action_values
Calling the Facebook campaign insights API, I want to retrieve "action_values".
I've tried from PHP code and from tool explorer using an url like this:
XXXXXX/insights?fields=action_values
...
0
votes
1
answer
466
views
How to test the Facebook Marketing API if my ad account doesn't have any ads or campaigns?
I'm working on extracting ads insights data from Facebook using the marketing API in Python and add these data to MySQL database, Now I'm trying to test the codes and get myself familiar with the API ...
0
votes
1
answer
676
views
OAuth "Facebook Platform" "access_denied" "Cannot call API for app
Background
My app is utilizing Instagram insight data and therefore requires the user to login via Facebook to grant the needed permissions such as instagram_manage_insights, public_profile, etc. When ...
1
vote
0
answers
739
views
Facebook API showing post messages and shares but not reactions or insights
Based on Graph API Explorer GET v7.0 I want to fetch all posts published by a given FB profile, with some basic statistics (views, reactions, comments, shares, the message)
I tried ****ProfileID/...
3
votes
0
answers
545
views
Calling facebook marketing api /insights endpoint returns an empty array data [] for sandbox marketing account
I'm using facebook's graphe api tool to test their marketing api, i ve created an ad campaign, and an adset to that campaign, and then an ad to a post i ve created using the create post api too and ...
-2
votes
1
answer
383
views
Never expire facebook page and data access token
I want to generate never expired facebook page and data access token. Following this
Never Expiring Facebook Page Access Token I am able to
make facebook page never expired but data access will be ...
1
vote
1
answer
90
views
Are the reach value of insights with breakdowns wrong?
There are my campaign insights data from api which come from the same campaign.
The total reach of the breakdowns data is 2858 (added by 68 + 2790), that is different with non-breakdowns data 2856(...
0
votes
1
answer
305
views
Any way to access DAYWISE Facebook ad insights using python and add the response data to an mysql database table?
I was able to access the ads using Postman API and got a python-requests code using the 'Code' option from the Postman app.
But the time_increment is working in a few cases.
When the time_increment ...
1
vote
0
answers
111
views
How can i get a video views with Facebook API
I want to get the number of views of a video (of public pages), i
already tried /VIDEO_ID/video_insights/total_video_views/ but it's
not giving any data all i get is : { "data": [ ] }
With the ...
0
votes
1
answer
569
views
what does this warning mean: Expect list<fields_enum>; got <class 'list'>
I'm running a python programm to fetch facebook insights metrics.
I get this warning:
UserWarning: value of fields might not be compatible. Expect list<fields_enum>; got <class 'list'>
...
0
votes
1
answer
2k
views
How to convert string access token to AccessToken object in Facebook SDK
I found my page access token by using the graph api. Now i would like to use my page access token and look up insights for that page. Problem is the page access token returned by the graph api is just ...
2
votes
1
answer
2k
views
How can I get more than 25 results from Facebook's insights api using Facebook-business-python-sdk?
I'm trying to get basic ad level data from Facebook's insights API using facebook-python-business-sdk with python 3.7.
The problem is I'm only getting 25 results back, even in accounts that have more ...
0
votes
0
answers
973
views
Facebook Insights API Pagination
There is no content on the FB Insights API documentation about how to work with the pagination cursors that come back with responses. Any idea of how to query for the next set of data and track ...
0
votes
0
answers
63
views
Is it possible to retreive more details from Facebook Graph API regarding cities for a page?
I'm developing a tool in python which exports Facebook KPIs daily.
So far so good, I managed to get it to work and it is working fine.
But now my customer requested even more details for the cities ...
-1
votes
1
answer
97
views
How do I retrieve video custom labels through the RestFB API using Java?
I'm creating a java application that pulls data from facebook videos using RestFB. How can I retrieve the custom labels from each video?
Although I'm able to pull the normal data from each video, ...
3
votes
2
answers
1k
views
Facebook graph page/post insights - permissions error
I have 2 facebook pages where im admin on, lets call them page_a and page_b
if i run this for page_a it works as expected:
HTTP GET -> {PAGE_A_ID}/insights?metric=page_fans_country
{
"data": [
...
-2
votes
1
answer
85
views
Facebook Marketing API Ad wise Share count
I am using facebook marketing API and I try to use action_type,action_reaction. It gives me a reaction(like,wow,sad,...) and Number of comments data but Its not returning share count data.
I am ...
6
votes
1
answer
2k
views
Instagram Post Insights - Organic v/s Paid Breakdown
According to Instagram (GRAPH) documentation, it's straight forward to get the insights of a post or media object (even story).
Unlike the Facebook insights of a post, Instagram (GRAPH) does not ...
3
votes
0
answers
138
views
Facebook insights - Previews, Followers, Responsiveness are missing from API
In the facebook insights dashboard they include:
"Page Previews", "Page Followers" and "Page Responsiveness" all given for a date range.
However, the API - https://developers.facebook.com/docs/graph-...
1
vote
2
answers
2k
views
Facebook page insights lifetime metrics doesn't return results
I'm trying to get some insights on page I own, for example page_fans which is stated in https://developers.facebook.com/docs/graph-api/reference/v3.2/insights as having both "day" and "lifetime" ...
0
votes
1
answer
183
views
Facebook API query sub-object
I am interested in getting post lifetime insights for a given page in a single request.
A previous issue did half the work: Get posts with insights from a single API call - Facebook Graph API
Which ...
1
vote
0
answers
512
views
How do I get monetization insights for my page with Facebook API using java?
For some reason i get the error:
"Received Facebook error response of type OAuthException: (#200) Monetization metrics are only visible for Page admins with access to monetization insights. (code 200,...
1
vote
0
answers
119
views
Why do I get an empty results to my query to get insights on my ad?
I'm trying to know how can I use Facebook API to retrieve metrics on ads.
I published today an add linked to a page I'm in charge of.
I do not understand why the response to this query :
https://...
0
votes
0
answers
329
views
Getting Facebook Insights with Python
I am trying to get the impressions from my Facebook page using python, I am just asking for impressions to make it work but it will be great to get all the data from a post. My code looks like this:
...
2
votes
1
answer
481
views
Not able to create ad creative using Facebook graph api
I'm making a Facebook ads application with Marketing API. I'd create an ad Sandbox account and using its access token, I've successfully created Campaign, AdSet and upload some pictures for making ads....