Is there any way to get figures on the number of impressions, hits, or number of users that a particular Facebook post that is not part of a Page has been seen by?
To paraphrase, let's say that I make a post on my personal Facebook account, can I use the API (or another method) with my own access token to look up how much visibility this post has received?
The Insights APIs seem to be restricted to posts that are on a "Page", which from what I can see is distinct from a user's personal profile or feed.
Exactly, post insights are available for page posts only.
There isn’t a similar thing for posts on user timelines.
(If you are sharing content from your own domain, then Domain Insights might be able to give some data.)
Related
I am making ios and android apps and I want to get number of likes, shares, comments of any post that is posted by particular user from his/her Facebook, Instagram and Twitter accounts.
Means how can we get number of like, share, comment of the particular user's post of Facebook, Instagram and Twitter?
Does Facebook, Instagram and Twitter APIs/SDKs support this?
Please provide any reference link to achieve this.
I'm not sure about twitter or instagram API's but facebook graph API allows you to do this, given that you have the necessary permissions.
You can always check the public data, your own posts and such..if you want to have access to the data of a particular users feed/posts they will need to provide you with that permission. (user_posts in this case)
As for the total count you can retrieve it by adding .summary(1) to the end of your query ex. for likes, comments and shares.
me?fields=posts{comments.summary(1),likes.summary(1),shares}
you can also limit the number of comments/likes/shares to zero so that you retrieve only the total count per post. If that is what you want simply ad .limit(0) before the .summary(1) ex. comments.limit(0).summary(1)
Shares however are different from comments/likes/reactions, you can only retrieve the count of shares from graph API therefore you do not need to provide anything other than the "shares" query to the post to recieve that.
Cheers!
I am having some trouble determining how to go about a certain issue. I am pretty new at trying to obtain social media data. Say an internet user publishes something that is essentially a post from from a website that is external to Facebook, to the user's Facebook feed. Is there a way to obtain the amount of likes, shares, comments, and other insight type data from those posts? I'm aware/currently learning about Facebook's open graph api, but I am unsure if it allows for this type of query. It seemed to be primarily for people, pages, and places, and I have not found a way to query only posts from a website specifically.
To be more detailed, a user will have the option of posting a jpeg type image to their Facebook feed. This is for a single website, where the website would like to do this in order to gauge how those posts are being perceived and interacted with by other Facebook users. Is there a way to obtain data on these specifically?
Also, if so, is there a way to tag or apply specific identifications to categories of these posts in some way before they are posted by the user to their feed, to allow for segmentation of the data? Any help is very much appreciated.
I was wondering if it's possible to get some kind of insights,using facebook graph, for the personal profile.
Basically I want to know some demographic information(age,gender,location) about the user who shared, liked my feed posts.
I found on the internet that wolfram alpha can do this, although I tried using my profile and besides some information about me, it didn't show any demographic data.
https://www.wolframalpha.com/input/?i=facebook+report
So do you know how get I get some demographic data about the persons who liked/shared my posts.
Thanks,
Not possible at all. Without authorization, you can´t get any detail of the user - for obvious privacy reasons. Insights are for Pages only.
Suppose that I am the administrator of a Facebook page, I want to get all of the profile details of a the people who "liked" my page. Is this possible? How?
So far, I have only been able to get aggregated data through the Graph API. For example, "number of like in the past week".
There are posts that claim that I can do this with the FQL API, but the documentation for the FQL seems to have been hidden on FB developer site.
FQL reference is not "hidden", it's here: https://developers.facebook.com/docs/reference/fql But there's no current official way to get the profile details of your Page's liker, because you'd need the permission to query the user data from the users.
There are some "hacks" as denoted at Facebook API: Get fans of / people who like a page for example, but it's strongly advised that you don't use these. Facebook forbids scraping for example, and once Facebook changes its website, those methods are likely to stop working.
I'm trying to figure out how to get the total number of comments, posts, likes and fans for any given Facebook fan page and date range using the Facebook API's. I need to be able to do this without the user having to log into Facebook to give the app permissions. This does seem to be possible, as this site is able to do it https://app.conversocial.com/profiler/ .But I don't know how they are doing it.
I've looked into the 'insights' fql table, but this always seems to return empty results. And I've also looked into the 'link_stats' fql table but this doesn't allow a date range to be set.
Does anyone have any idea on how to do this?
You are right. What they are doing is not possible by using the normal Graph API or/and the FQL.
However, Facebook also provides support for two other APIs:
Public Feed API
Keyword Insights API
Access to these APIs is restricted to a limited set of media publishers and usage requires prior approval by Facebook.
I think that they are using the Public Feed API. The documentation of the Public Feed API lists some of the publishers that have been using this API and the site you've mentioned in the question is not in the list. The documentation also doesn't mention anything about getting the Page Insights, but I think it might support this feature (as I see no other way of doing it).
Or, they might be using any other such restricted API which is not yet available to the public and not even documented on the developers website, but is currently in beta/testing phase.
To get the number of fans and the talkabout count, just query the appropriate Open graph ID for the relevant page. For example, for Coca Cola (https://www.facebook.com/cocacola) this is done via
https://graph.facebook.com/40796308305
To get all public infos (Posts etc) use the following request
https://graph.facebook.com/40796308305/feed?access_token={ACCESS_TOKEN}
where {ACCESS_TOKEN} can either be an App Access Token or a personal one. Consider that you can only see public entries.
The ability to query the date ranges is not provided via Facebook ad far as I know. I guess the https://app.conversocial.com/profiler/ application queries each page that is in its index once a day, and saves the results. That's how they're able to provide historical data.
You can try with the following FQL queries or graph API requests for facebook pages,
Graph API
http://graph.facebook.com/nb4cinema
FQL
SELECT name,about,description, fan_count,talking_about_count FROM page WHERE username= 'stackoverflowpage'
In case of FQL tables:
To read the page table you need
no access_token to get public information, or information about public pages that are not demographically restricted.
any valid access_token to get all information about a page that the current session user is able to see.
We have a test fan page. This has poor figures (<10 fans). Statistics are not available due to the lack of fans and likes on that page.
Allthough, conversocial spits out some statistics. They mixed fans and likes to some extent and so my impression is, that they simply parse the page code in order to get what you see.