This question already has answers here:
Querying Users who 'like' my Facebook Page
(8 answers)
Closed 8 years ago.
Is it possible to get users who liked my page through Facebook Graph Api? Basically, I want to get last 5 users who liked my page.
I can't find it anywhere in the docs and endpoint /page/likes return likes which page made, not who likes page.
No, I don't think it's possible. Have a look at this bug.
You can also follow this discussion and can try to find a workaround to this problem. This bug is around 1 year old, so I think you might find a way achieve this. There have been a lot of discussion on this on StackOverflow.
Related
This question already has an answer here:
Degree of separation
(1 answer)
Closed 8 years ago.
I am trying to fetch degree of separation between users in Facebook API. Similar to the one in LinkedIn. I tried to fetch friends of friends through the Facebook API v2.2, but it didn't work out.
How can I achieve this?
"it did not work out" is not a good description. But anyway, what you are trying to achieve is not possible at all. You can´t get access to "friends of friends", you can´t even get access to "all friends" (first level) anymore. With /me/friends, you only get friends who authorized your App too, for privacy reasons.
See the changelog for more information: https://developers.facebook.com/docs/apps/changelog
This question already has answers here:
How can we track hashtags with the new facebook hashtag implementation
(2 answers)
Closed 8 years ago.
I'm building a contest app which requires to find images posted by anyone in their Facebook public timeline with a specific hashtag. User doesn't need to like our page or anything. we just want to gather all the posts that is using that particular hashtag.
Could anyone tell me how?
With Graph API v2.0 and the now gone public post search, you don't have the possibility to search for hashtags anymore.
There's the Public Feed API (https://developers.facebook.com/docs/public_feed), but this is restricted to FB partners only.
I don't see that you can achieve what you desire. Sorry.
This question already has answers here:
Querying Users who 'like' my Facebook Page
(8 answers)
Closed 9 years ago.
I am admin of a page which has over 1000 likes. I want a list of all my fans. Is it possible to do this ? If yes how ?
I have been checking the facebook documentation and FQL but am not able to figure out anything. Please help.
What I want is a query like "select uid from page where page_id=xyz"+ access_token of the page
I have tried firing a query on the connection table, page table and page_fan table. But am not able to make any progress.
I highly doubt that is possible, and if so it shouldn't.
This is a privacy issue. A facebook page is meant to give you the ability to either connect to people with a common interest or to promote your cause/product/company.
You are able to get insights on your fans via: "https://www.facebook.com/{yourpagename}?sk=insights" which is fine to get some demographic data of your audience.
If you would get a list of your fans, you would basically have a template to send spam mails.
I don't say this is what you are trying to do, but if you could - everybody could.
This answer isn't very good, I know. But as far as I could research it there is no way to do that.
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
This question already has an answer here:
Changing privacy of old Facebook posts using the Graph API
(1 answer)
Closed 9 years ago.
I was thinking of a way to change the privacy of multiple posts on facebook automatically.
Can anyone tell me something?
thanks
This is not something that you can do using any of the Facebook APIs.