Difference between export csv from facebook ui and getting using InsightAPI - facebook

I'm getting data about my ads using InsightAPI.
(level ads, breakdown country)
Sometimes the column "Results" (clicks) has different values in comparison with the data that was exported using "Reports/Export to Excel" on Facebook Ads Manager UI.
Any explanation why it is different?
Thanks a lot!
First one is: report downloaded using API
Second one is: get report using facebook ui - reports/export as csv

As the Business Manager is just a WYSIWYG-API-query builder, the difference may occur from different attribution windows set in your API query and in the Business Manager.
Do you specify an attribution window in your query or did you change the attribution window in your business manager?

Related

How do I showcase a query that showcases the user stories under a given feature on my ADO Dashboard

I keep getting the erorr that it is a hiearchal query and it isn't possible to create it as a widget on the ADO Dashboard.
I tried manually adding each one but I realized for some other features there's around 70 user stories which in the long run isn't efficient at all.
I want to create a query that I am able to showcase the user stories under a given feature and be able to put it on my dashboard without having issues. Thank you!
To get user stories under a given feature and display the results on the dashboard, you can refer to the following method.
Create a shared query as shown below. Parent is the work item id of your feature.
Add a widget named Query results to your dashboard. Select the query created from the first step at the Query box.
Then you can see related user stories in the widget.

Can you extract Facebook data by date range using Facepager?

I've been using Facepager for research purposes for almost a year now and I can't figure out how to extract data - public posts, comments and likes from a page, for instance - by date range. While other programs such as Netvizz gives me this option, Facepager seems to fail to do so.
Thank you.
You can use the since and until parameters for this, e.g. set since (left side in parameter settings) to 2017-09-13 (right side) when fetching posts of a page. See the section Time Based Navigation in the Facebook Graph API.
Keep in mind that accessing very old data with the API is limited by Faceebok. Most social media platforms are aligned to the presence :)
BTW: we just opened a Group on Facebook for getting help.

Facebook URL Graph Search - Page Queries

I am looking to generate a list of URLS or FB ID's for a set of existing Facebook Pages. Ultimately the initial query I am looking to run is simple: Find all NEW facebook pages created in City XYZ.
The term NEW, is open to interpretation. It could mean "Created this month" Or newer relative others in a set (these details are not important at the moment) . Also, "Pages" refers to fan pages (not user profiles).
I have identified 3 possible approaches. Both of which I am hoping to get some input on. Regarding feasibility and process.
Option 1) Somehow leverage Facebook's Graph API and develop some time of web application to generate a list of all Pages, then filter by city, then filter by date created.
Option 2 (Best Case)) Write or generate a custom Graph Search URL with embedded search criteria and leverage FBs existing search feature to get results. A great example of this approach is used by the tool searchisback.com. Only this tool is used to do advanced searches on People, but I need advanced searches on Pages.
Option 3) Locate a tool that already does this that I can use.
I again hoping to get some input and possible some direction/recommendations.
I should also mention that I actually know very little about Facebook APIs and Facebook Development. My position right now is of some who knows what they want to do, but no idea how to do it.
Option 1: Not possible, you can only search for Pages by name, the Graph Search is not available with the API. Those are all the options: https://developers.facebook.com/docs/graph-api/using-graph-api#search
Option 2: See answer to option 1.
Option 3: There are tools that list Pages, but they all have to add them manually. So there is not really a tool that does what you want to achieve.
In short: What you want to do is not possible.

Facebook Timeline Aggregations Filters not working

I'm creating aggregations and setting a filter in the advanced section.
eg: x.category == Style
where x is an object defined in the open graph section of my app and catgory is a custom variable defined for that object
These aggregations don't seem to work. I'm definitely passing the category variable to facebook via the og tags. I can validate that because I use {x.category} in the caption field and it shows the right category. I've changed the aggregation to show actions and objects and neither seem to work. The aggregation box would just not show at all.
Any help is appreciated.
We reached out to the Facebook team and apparently this is a critical bug and they're working on a fix.

Data api ga, how to get data for multiple pages?

I'm using Data api of google to get data in my filters, I'm getting data for page path for single page and I'm stuck at multiple pages. I followed document and passed following query to filters,
$filter = 'ga:pagePath=~/about_us.htm,ga:pagePath=~/index.htm';
Is there anything wrong in it? Can someone please help in it.
You need to add $dimensions='ga:pagePath' to individually query the two pages.
I don't see anything wrong with it but it's always good to run your data api calls through the Data Feed Query Explorer. It will show you if it is getting results and show you the proper url-encoded query.
I ran a query using the Data Feed Query Explorer on my site that was similar to yours and had no problems.