Retrieving Facebook page's fan [duplicate] - facebook

This question already has answers here:
Querying Users who 'like' my Facebook Page
(8 answers)
Closed 9 years ago.
Is it possible to retrieve facebook fans' list from a administrator of a facebook page ? (supposing I am using a facebook app authenticated by this administrator)

No. Facebook does not give you access to a list of page fans through the API.

Related

How to get facebook user id from scoped user id to open profile page on fb app? [duplicate]

This question already has answers here:
Facebook. Linking to user profile?
(2 answers)
Closed 5 years ago.
Is there a way to open a user profile page on the FB app with the scoped user id? If not how to get the real id from the scoped one?
Simple solution would be to use this URL format :
https://www.facebook.com/profile.php?id=FACEBOOK_USER_ID
as they answer in :
Facebook. Linking to user profile?

Automatic 'like' after logging in via Facebook [duplicate]

This question already has an answer here:
How can I use the Facebook Javascript API to automatically make a user like a page?
(1 answer)
Closed 9 years ago.
I've been googling for days. I have a read a lot of documentation, forums etc, but I haven't found a working solution.
I am trying to add 'like' to the page https://www.facebook.com/Superawesometest on behalf of the user after he/she has logged in via facebook. I recieve all the necessarry permissions and an access_token.
but using $facebook->api("/Superawesometest/likes", 'post'); wouldn't work
what am I doing wrong?
Try using the Superawesometest page's Page ID instead of the name "Superawesometest" in the API path

Find All FB Users Who 'Like' XYZ Page [duplicate]

This question already has answers here:
Retrieve Facebook Fan Names
(6 answers)
How to list facebook users who like a page or interest [duplicate]
(6 answers)
Closed 9 years ago.
I'm trying to use the Facebook Graph API to pull lists of User IDs where said user 'likes' any given page. Ex: a list of User IDs of those who've liked fb page id 10152294138493306& (coca cola's).
Further, is it possible to filter down this list based on age/gender etc?
Thanks in advance!
https://www.facebook.com/cocacola/likes
Can you see the list of users who liked the page? No, this information is private. And it's the same on the API.

Connect to only my Facebook account and show my photos on my Website [duplicate]

This question already has answers here:
How to display my photo albums and photos that are in FB on my own website
(6 answers)
Closed 9 years ago.
I'm trying to show my albums from Facebook on my website using Graph API or FQL, but all the examples I find are to access the photo albums of my visitors.
Can anyone guide me in how to connect to my Facebook account and check my albums for visitors to my site to see my photos?
I am not going to feed you the codes, but what you should do is, run the Oauth script at backend where user has no access to, get the accesstoken which is then used for the main site to fetch the required details.
It is inshort hardcoding (or accessing from a db/file) the access_token instead of generating it by authorizing the visitor which shows their details.
Once you have the image links, you only have to update the new ones. You should code the site such a way to avoid unwanted queries.

Facebook integration issue [duplicate]

This question already has answers here:
How to get Facebook friends' email?
(7 answers)
Closed 9 years ago.
Is is possible in iPhone application to get friends email id on Facebook?
No. You can't get friends' emails. Check out graph api permissions.
https://developers.facebook.com/docs/reference/api/permissions/
NO, Its not possible to get email ids of friends although you can ger facebook ids of friends