How can I get the details of all fans of a Facebook page? - facebook

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.

Related

graph api user news feed

by calling /me/feed in graph api i can get feed like my posts or posts that i am tagged in.
How can i get a feed with my friends posts or news that i see in my wall in fb?
i mean feed like the one that i see when i login to facebook
i tryed me/feed with several parameters but no luck
same here
https://developers.facebook.com/docs/graph-api/reference no info :(
i didnt manage to find something useful in facebook graph api explorer
thanks!
How can i get a feed with my friends posts or news that i see in my wall in fb?
You can’t.
That used to be available in the very beginning via the /home edge, but that has since been removed.
There is no replacement. Friend’s posts are only available to your app, if the friend would join your app and grant it permission to read their posts.
(Plus, platform policy says apps should not replicate Facebook “core functionality”. If a user wants their news feed, they can go to Facebook ...)

Facebook API : get user likes other than Pages

I'm trying to build an app that needs to get what a facebook user likes. By "likes" I mean not only which facebook pages the user is following, but also all likes related to posts, photos, or non facebook urls.
All I've found in the API doc is this endpoint:
http://developers.facebook.com/docs/graph-api/reference/v2.2/user/likes
Unfortunately, it only returns facebook pages a user likes. Is there a way to get what I'm looking for?
No, there is no way to achieve what you are doing using Graph API v2.0 and above.

Graph API | Get facebook page members/likes

I've got a question about the facebook graph api.
I have a example facebook page: https://www.facebook.com/pages/TheBestCompany/250721784993387
And i want to get the images from all the people that liked that page.
I've found on this site that it is not possible to find the people that liked a external page. but thats not the case?
I hope to hear from you people:)
No, you can't do that!
Have a look at the facebook api: graph api pages. You can get the count of likes for a page, but there is no connection to the people who like it. Furthermore, if you would know the facebook ids of these users, you would need the user_photos permission.
Like button reference lists the options.
I don't know if 'show faces' is what you are looking for.

Streaming Facebook Pages Wall (not just the pages posts)

I have looked on 100 forums looking for a simple answer for how to stream every post on a Facebook page's wall (not using the like box for just the pages posts, but everyone's posts). I am the admin of the page and I am already using the like box for my posts so I understand that, however the developer pages of Facebook are too confusing for such a simple task. I will be inserting the stream into an HTML page which will be hosted on www.1and1.com so it can handle most, if not all code.
I know it is a lot to ask but is there evem someplace online that will offer plain step-by-step instructions for my specific needs?
If the social plugins they make available aren't sufficient, you could just pull in the feed with the Facebook graph api using the javascript sdk (easiest) or there is probably an SDK for whatever programming language you know. For example, you can see a list of posts on the coca cola page using the Facebook graph explorer:
https://developers.facebook.com/tools/explorer/?method=GET&path=cocacola%2Ffeed
The /page/feed method needs an access token, but you can use the graph explorer to get an offline_access token that you can use to pull the data in. This may eliminate javascript sdk usage though unless you want to first prompt users to authenticate your application. But otherwise you would just parse the json feed that is returned in the url indicated in the graph explorer (and add your access_token to the end of the url).
Here is a good PHP tutorial on how to display a groups feed on a web page. It would be just as easy to display the posts from a page (since you are the admin)
Just replace the group ID with the page ID. Here is a link to the feed for the Facebook Platform feed graph api results. More info on FB Pages here.

Should you necessarily be page admin to post on a Facebook Page

I would like to post data to a Facebook Page using Graph API even if I do not have Admin rights on the page.
I am familiar with pages with stricter permissions.
For example, http://www.facebook.com/barackobama is a page where I cannot post data even if I 'Like' it.
My questions are,
Can one create such a page with permissions so that any one can post data on it?
What is the minimum criteria to post data on a Page? ( Should I be the Page Admin / I Like Page / Anyone with a Facebook login)
If I cannot post to a page without admin permission, can I use public groups to post data via Graph API?
Any feedback will be greatly appreciated?
Disclaimer: I asked this on Facebook Developer forum also. Seems like the average response time is too slow.
Page admins can specify if Users can or cannot post on its wall, even if they are fans already.
The criteria is:
You like the page
The admin settings for "users can post on page wall" is checked
No you cannot use groups to publish to a page.
The questions might be irrelevant if you really wanted to post to a page. Your questions mean that you will post on the page as yourself. There is another way to do this, but you will be posting as the page itself.
Get an admin of the specific page to allow your app with these permissions "offline_access,publish_stream,manage_pages". Get his access token, query "me/accounts" in graph API, get access_token of the page, publish to wall using the page's access_token.