Is there a way to __scrape__ content from Facebook closed groups? - facebook

Is there a way to systematically __scrape__content from Facebook closed groups? I am member of some Facebook closed groups and i would like to monitor this groups for the occurrence of certain words - is there a possibility for this?
I have found this tool: https://mkonrad.net/projects/facebook-discussion-tk.html - but you need to manualy collect data from closed groups.

Facebook used to allow group-scraping (at least programmatically via their API), but not anymore.
The user_group permission, which used to allow that, is now deprecated and will be replaced by user_managed_groups

Related

Reading closed facebook groups feed through graph api 2.5 , I'm a normal member

I am trying to read a closed facebook group feed that I am a member of. But I get a empty dataset.
In https://developers.facebook.com/docs/apps/changelog it says:
"90-day deprecations (effective Tuesday, October 6, 2015)
...
the user_groups permission has been deprecated. Developers may continue to use the user_managed_groups permission to access the groups a person is the administrator of. This information is still accessed via the /v2.4/{user_id}/groups edge which is still available in v2.4."
Do I understand this correctly that it's not possible anymore to read a closed groups feed unless I am the admin? Is there any other way to do this? I don't need all the posts, only the posts that user has replied to, and the user replies.

Graph API - how to get ID of user by username [duplicate]

This question already has an answer here:
Facebook - "Cannot query users by their username" solution
(1 answer)
Closed 7 years ago.
Facebook API endpoint
https://graph.facebok.com/{username}
stopped work in recent two weeks. Temporarily pages like www.findmyfacebookid.com didn't return proper results, but now they works fine.
How can I grab userId from Graph API now?
I know about stragne workaround with data-hovercard parameter. Manner described here. However, I find it hard to believe that they use such a odd solution especially I know tools which probably use another way and have not outages. Does anybody know more efficient way to get that data? Your help appreciated.
You are not supposed to use the username anymore, only the App Scoped User ID you get after authorizing a User. I assume those tools switched to parsing the Facebook User profile, which is not allowed according to the scraping terms.

Facebook block graph api access to closed groups?

I'm developing a program that read posts from groups by using
graph.facebook.com/v2.3/[group_id]/feed
I've heard that facebook is about to block the access for developers to closed groups.
but I can't find any formal mention of this.
Anyone know if it's true?
Thanks
Update:
user_groups is gone, now we need to use user_managed_groups instead of user_groups, and the problem with this permission is, it only allows you access to the groups which are open, or the one you are admin/developer/tester of. No closed groups are allowed.
They don´t block access, but you will not get user_groups approved and the permission may get removed sooner or later:
https://developers.facebook.com/docs/facebook-login/permissions/v2.3#reference-user_groups
There is a new permission called user_managed_groups, use that one. For groups you are an admin of, nothing changes.
Facebook seems to remove all possibilities for users to read their own content automatically:
No more access to user groups (without being admin of that group)
No more access to messages (except for conversations with pages)
This will become a severe problem with deprecation of API v2.3 on July 8, 2017.

Degree of Separation with Facebook API [duplicate]

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

Read closed facebook groups

I would like to read (and if possible post to) two closed Facebook groups on behalf of an application. I have only been able to read as a user member of a group, but that doesn't quite satisfy. Can someone help me find the correct API-call and permission please?
The idea of a closed group is that only specific people (at the discretion of the current members) are allowed access to it. Your app will not be able to access the group. If you want an app to make posts, etc that members can see, your best bet is to make an app page that people can like instead.