Instagram Post Insights - Organic v/s Paid Breakdown - facebook-graph-api

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 provide paid/organic breakdown on a post level for available metrics like impressions and engagement.
This creates a big issue for marketing teams because they cannot differentiate organic from paid performance.
Another way to try to hack this is by fetching all related Ads created on this post. I didn't find anyway to read Ads, AdSets or Campaigns related to a post ID. The only way I can think about this is to manually select the Ads related, on a condition that those Ads were created by the same Ad Account we have access to.
So my question is: Is it possible to get organic vs paid breakdown on the performance metrics of an Instagram post through the API?

from Facebook Developer support I know that the Instagram Graph API only reports organic results (so if a IG post received 300 likes, 200 of which from paid activities, an API call for the media insights will only return a value of 100 likes).
At the same time as far as I know the Facebook Ads API only returns the paid performance, not the organic ones.
For this reason you should be able to report the two sources separatedly, since the metrics don't overlap. The problem arises if you need to join the two sources (for example getting the like total of a single post), since as far as I know there's no matching variable between the media from Graph API and the Ads from Facebook Ads

Related

First Review or opening date in Google places API

Im trying to obtain the date when a store was created on Google Places API, that information is not available on the API.I think, that I can do if I retrieve the first review date, but the API give me only 5 reviews.
Any ideas for obtain the date? or a similar service? I checked facebook and forsquare, but the same results.
Currently this information is not exposed via Places API. There are following feature requests in Google issue tracker that you might be interested in:
Expose creation date and date of last update in Place Details
Google Places API Reviews, changing the sorting order?
Places API: Response to Include More Than 5 Reviews
I would suggest starring these feature requests to add your vote and subscribe to further notifications from Google. Hopefully one day they implement these feature requests.

Problems when trying to get Instagram stories through the Graph API

Problems when trying to get Instagram stories through the Graph API
Getting Insights Data
To get insights data for an individual media object, send a GET request to the /media/insights edge and include the metric parameter with one or more of the metric values you want returned. Please note the following limitations:
Insights data is not available for media objects within album carousels (children).
Stories insights are only available for 24 hours, even if the stories are archived or highlighted. If you want to get the latest insights for a story before it expires, set up a Webhook for the Instagram topic and subscribe to the story_insights field.
For the insights data Things i tried
https://developers.facebook.com/docs/instagram-api/webhooks
Subscribed the App with the POST call from Graph Explorer api
31231XXXXX/subscribed_apps
How do I Subscribe to the story_insights field of the media object??
Story Metrics
exits
impressions
reach
replies
taps_forward
taps_back

Facebook API datamining - supporting website cost with ads

I have a project prototype that is pulling event data from the Facebook Graph API, so no personal information is being acquired. It is mostly an aggregation of event data to streamline searching for times, location, event names and performers.
However I would like to support the running of the website costs, firstly with a few ads on the side.
The Facebook policy page https://developers.facebook.com/policy section 3.9 states:
Don't sell, license, or purchase any data obtained from us or our
services.
Secondly, I am planning on making referral links so that if the User uses my website and clicks on a buy ticket link for example, then the link to the events ticket page will refer my website.
I am not selling the data but I am not sure how the law applies to making money from their data indirectly, am I complying with the Facebook policy since Facebook do not gain anything from my service?

Is it possible to get insight metrics using Facebook API

I am interested in fetching all data available on this page (https://developers.facebook.com/docs/opengraph/insights/) with Facebook API. Is it possible to get raw data to use with my own graphing tools?
Yes. You can query the insights table using either the Graph API or FQL.
The insights documentation is not very clear, and in FQL especially, you need to manually ask for data points one period at a time. The FQL documentation is worth reading even if you're using the API since it defines all the different metrics which are available.
Visit the Graph API Explorer, get an access token with the Extended Permission read_insights and type /PAGE_ID_OR_USERNAME/insights into the search box. You'll see a bit of what is available.
You can drill down by adding parameters to the end of the url. For instance /PAGE_ID_OR_USERNAME/insights/page_fan_adds_unique/day?since=-1 month gets you a json object with the unique page fan adds each day for about the past month.
You are only able to get insights data for a page where you have admin rights.

Where can I find the data points for the Insights chart in the Facebook dashboard?

I am currently using the Open Graph API but am not opposed to using FQL if it can get me the data points I'd like. Right now I am just hitting the urls directly and not worrying about a client SDK.
Of the three charts on http://www.facebook.com/insights/ => websites I can find the data for the Site Engagement chart in the Domain Insights in the API.
However, I can't seem to find the points for Distribution on Facebook, or Referral Traffic to Site in the insight data being returned for the domain. Did I miss them, are they available maybe in FQL or are they just not exposed yet?
Edit: It looks like someone doesn't understand what charts I am talking about so to clarify, I am looking for the following anywhere in the Open Graph API, FQL, or anyplace else in Facebook:
Like Story Impressions
Share Story Impressions
Like Story Clicks
Share Story Clicks
This info is now available via the Insights app. News Feed section has some of it, at least the story impressions and clicks.