I want to know if there is a way to get users public Facebook data (eg. User’s page likes, name, surname, e-mail (if public)...) Without asking a user The permissions, only public data.
I’ve just check The graph API but all of informations requires users permissions.
It's not possible via Facebook Graph API. The web-crawl method could achieve it, but that's against fair practices.
Public data of users without there explicit authorization: not possible at all.
Public data of Pages: Only possible by applying for Page Public Content Access first.
Scraping/Crawling is not a valid way, because Facebook does not allow it.
Related
Is there a way to get all the posts from a public group on facebook without the graph api/group api?
I am a member in the group but I'm not an admin so I don't have the permissions to do it with the formal facebook api.
But I can access all the data with my browser so I can see all the posts throw the web GUI.. So I thought there's might be a way to download/get all the posts from a group without the need to be an admin..
Thanks!
Is there a way to get all the posts from a public group on facebook without the graph api/group api?
Circumventing the APIs would not be allowed to begin with; you have to use those, if you want to gather any data by any automated means, everything else would be against the ToS.
There is no way to access group posts via API, if an admin does not “install” your app in the group first.
The group visibility does not matter in that regard, it is the same for private or public.
I am attempting to retrieve my own comments from a public group on Facebook, using the Facebook Graph API. This is a public group of which I am not an administrator.
I have attempted a number of strategies, but to no avail so far. I keep hitting brick walls, e.g.:
The xxx'yyy' is only accessible on the User object after the user grants the 'user_managed_groups' permission.
If I go on my own profile activity log, I can see those comments, so I would have expected there should have been a way to retrieve those programmatically through the Graph API.
Am I mistaken?
UPDATE
On the chance that I am indeed mistaken, I have sent the following feedback to Facebook:
I would like to b able to retrieve my own comments from a public group on Facebook, using the Facebook Graph API. This is a
public group of which I am not an administrator.
At the moment, the Graph API documentation (v2.12) states that to read the feed I need to provide a user access token for an Admin of
the Group with the user_managed_groups permissions.
Please note that if I go on my own profile activity log, I can see those comments, so I would have expected there should have been a way
to retrieve those programmatically through the Graph API.
Group feeds are only accessible with an access token of a group admin now.
Please note that if I go on my own profile activity log, I can see those comments, so I would have expected there should have been a way to retrieve those programmatically through the Graph API.
The main difference is, that you are one single person looking at your own data. But if I create an app and have a hundred thousand people log in to it and it was possible to read that data, then I could accumulate it for whatever shady purpose ...
(Now with the feed of a public group that might seem a little over the top, I know - but I think the general idea is to make automated data collection harder.)
I am trying to get the posts of a specific public person.
I noticed that it is possible to do get the posts of a specific page through the FB API through the Graph Developer page i.e:
https://developers.facebook.com/tools/explorer?method=GET&path=EuropeanCommission%2Fposts&version=v2.5
Those are the posts for the European Commission.
How do I do something similar for a specific person i.e: https://www.facebook.com/zuck
You can only get the posts of a user profile by authorizing that specific user with the user_posts permission. Just because some posts are public does not mean you can get them with the API, the user has to authorize it specifically. I assume it´s because the user should always know what an App may do with his posts, if you could just grab public posts of any user, the user would never know.
It´s different for Pages, because they are public by definition - unless they are restricted by age or location, of course.
I want to send something like feed seen to direct user only (I know the mechanism how to do it), but from something like page. As I've understood only public feeds are accepted for pages. Is there any analog object, that could be associated with my company and that could be an author for private feeds, seen only for direct users?
No, as indicated at https://www.facebook.com/help/352402648173466?in_context, even if you enable settings:
What you can do is narrow the audience by conditions(age, demographic...etc), post feed specify audience by user id is impossible:
My first thougth was send private message as the solution, unfortunately, as indicated at https://www.facebook.com/help/273376269375028/, what you can do is only
send messages to people who've contacted you on your Page
You are able to retrieve a page's feed by querying the following graph endpoint:
https://graph.facebook.com/{group_id}/feed
Please see the following reference: https://developers.facebook.com/docs/reference/api/page/#feed
Posting to a feed requires you to have the access_token for that page, which can be retrieved by calling /me/accounts using the access_token of a user with admin privileges to that page.
Is there any way to track a certain URL (let's say http://domain.com/example) on Facebook and Twitter? Do any of the respective APIs enable users to access the number of public shares, likes or retweets from a given public publication/tweet, without forcing users to authenticate?
On Facebook you can do it by usin Graph API:
https://graph.facebook.com/?ids=http://www.imdb.com/title/tt0117500/
To retrieve comments, you should use comments connection:
https://graph.facebook.com/comments?ids=http://www.imdb.com/title/tt0117500/
And so on.