Facebook Groups API is depcrecated in v19.0, how to get user groups?
18

Hi, Starting to v19.0, the Facebook Groups API is deprecated and this deprecation includes all Permissions (publish_to_groups, groups_access_member_info). As a result, I can't connect my Facebook account with OAuth using these scopes.

From what I understand, getting, and posting on groups will be done with a page access token. I tried to fetch page groups 'GET /v19.0/{page-id}/groups', but the result data is empty even when I attached a group to a page.

Does anyone know a solution on how to get user groups? Thank you!

Dima
Asked about a year ago
Neil

The fact that Facebook is doing away with the group's API is devastating. It's more devastating than tik tok going away. What can we do about this?

March 21 at 4:20 AM
Selected Answer
2

When do we get information for the new Groups API? How do we extract tokens for the group?

January 31 at 2:23 AM
Alexandru
Daniel

There has not been any new Groups API announced yet that I am aware of.

January 31 at 10:24 AM
2

We are also using these APIs and we find it quite surprising to deactivate them without providing any alternative.

February 6 at 6:33 PM
Douglas
2

Did you have any solution for this problem? I haven't found anything on the forums that solves this problem.

February 13 at 1:28 PM
Douglas
2

They change the process You will still be able to post to the group and even more simply without the approval of the group manager

Attached 2 links https://developers.facebook.com/docs/graph-api/reference/v19.0/group

https://developers.facebook.com/docs/graph-api/reference/post/

April 18 at 8:51 AM
Roee
Chris

Sorry, but that's simply not correct. The permissions necessary to utilize these APIs (like publish_to_groups) are being removed as part of the deprecation.

April 18 at 9:11 AM
Roee

Read here >> https://developers.facebook.com/docs/graph-api/reference/v19.0/group

Permissions groups_access_member_info publish_to_groups

April 18 at 9:16 AM
Daniel

Have you actually gotten this to work? If so please send me a dm on FB. My name is Daniel Burge.

April 18 at 9:25 AM
Roee

Not yet I just started working on it and read the documentation

April 18 at 9:50 AM
Adam

I don't believe this will work, because it's impossible to get the group_id. Going to /me/groups always return an empty data set. And /user/groups just errors. Good idea though and please comment if you find something that works!

April 18 at 10:44 AM
Roee

I guess and hope I'll have the answer in the next few weeks

April 18 at 10:46 AM
林宇智

if this method can work,please comment if you find something that works!

April 18 at 6:24 PM
Roee

We'll know soon

April 19 at 12:29 AM
Mike

Posting to previous versions DO NOT work either.

May 3 at 9:00 AM
Mike

Has anyone gotten this to work?

May 7 at 5:27 AM
Roee

Not yet but didn't start to work on it But as I read your profile have to be with the new profile experience

May 7 at 5:42 AM
Roee

Look at the date and api version

May 7 at 11:08 PM
Roee

I read it But what I sent is newer than that You sent a introducing of the v19 api and I sent the documentation of the v19 api

They just changed the way you do it You have to use the new profile experience for it to work

May 8 at 1:31 AM
Muhammad Ahsan

Hello, I am another one having issue with unable to post to group (via fb page) due to permission error. v13.0 has been removed from fb page access token generation page and with v18 and v19, i am unable to generate fb page access token with "publish to groups" permission.

May 8 at 2:34 AM
3

Has anyone contacted the developers.facebook.com team?

February 1 at 4:59 AM
Alexandru
林宇智

can't not find the developers.facebook.com teamcontacted info

February 1 at 8:55 PM
3

Is there a way to contact the Facebook development team?

February 14 at 5:34 PM
林宇智
Chris

There's a reason they've turned off the bug reporting tools and pointed everone to these forums (where it's mostly dead and no FB employees) - they don't want to deal with it.

No amount of begging for them to keep the Groups API is likely to change their minds here. There are years-old bugs in the API at this point; it's been pretty clear for a while it's not a priority.

February 14 at 6:10 PM
林宇智

So it is possible that Groups API will not be updated again?

February 14 at 6:38 PM
Chris

@林宇智 The Groups API is going away, and I would not expect it to be replaced.

February 15 at 5:32 PM
林宇智

Have any method that achive same APi function

February 19 at 1:46 AM
Kyle

I really hope they hit their reckoning. A good API creates a good ecosystem and actually improves engagement. Issue is they never really had that great of an API and so they had pretty bad engagement. If they actually took the time to invest in this and their developer network they'd see a lot more returns. cough cough why is the tiktok API actually pretty great to work with.

April 9 at 9:38 AM
3

Have any other way that to achieve the functions of these APIs?

February 15 at 5:22 PM
林宇智
梁為閔

It currently seems unlikely that we can use an API, as the Group API was officially deprecated today. In small-scale environments where joining groups is possible, web scraping might be the only solution left. Based on my experience over the past few years, I believe there is a slim chance of the Group API being reinstated. I am also a developer in Taiwan; would you like to become friends and exchange technical knowledge?

April 23 at 5:57 AM
3

We are also using these APIs. Is there any alternative?

February 28 at 2:42 AM
Jacek
4

We are also affected by this change.

Where did you get the understanding that posting on groups will be done with page access token?

January 30 at 1:59 PM
Daniel
Dima

From their blog post https://developers.facebook.com/blog/post/2024/01/23/introducing-facebook-graph-and-marketing-api-v19/

January 30 at 2:02 PM
Dima

Scroll down to "Deprecating Facebook Groups API"

January 30 at 2:03 PM
Daniel

Yes, I read that. While it does mention the page access token, it doesn't specifically say that it will work after april 22nd.

January 30 at 2:08 PM
Adam

My understanding of "For developers that were relying on calls to the Groups Post endpoints through Groups API after receiving a Private Replies webhook, those developers will now need to ensure they're using a Page Access Token for those requests." is that it is only relevant for posting a private reply, not posting to the group?

January 30 at 4:16 PM
Daniel

Not really sure, that's why we all need more clarification from FB.

January 30 at 4:22 PM
5

We're using these APIs as well and find it very strange to deprecate it and not provide any alternative.

February 4 at 11:26 PM
Francis Jason
Daniel

I've got a chat with a bunch of other companies dealing with this and sharing info. If you want in look me up on FB: Daniel Burge and dm me.

February 5 at 10:17 AM
6

"I tried to fetch page groups 'GET /v19.0/{page-id}/groups', but the result data is empty even when I attached a group to a page." <- this happens for me too. Even when creating a group as a page / joining a groups as a page and then accepting an invite to become an admin.

January 30 at 8:30 PM
Adam
Daniel

adam send me a dm on fb, I'm trying to collect a few companies in a chat that are dealing with this. You'll have to look me up on FB: Daniel Burge

January 31 at 10:31 AM
Glen

Hi Daniel, I'd love to be included, I'll send you a DM now.

February 1 at 8:13 AM
Dima

Hi Daniel, I sent you a DM

February 1 at 8:22 AM
Douglas

Hi Daniel, I sent you a DM

February 6 at 5:16 AM
Geoffrey

Unfortunately it seems to be the case the Groups API will be deprecated. We've tested the v19.0 and the following failure occurs: Unsupported post request. Object with ID '2185332167817' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api

v18.0 does not have issues.

February 6 at 6:18 PM
Vlad

Hi Daniel. I sent you a DM as well.

April 1 at 3:46 AM
Harsh

Hi Daniel, I've sent you a DM.

April 3 at 8:14 PM
Mike

v18 and below also have issues. Can not post to a group anymore with those versiosn either.

May 3 at 8:57 AM
6

I was also affected by this change. I have a number of projects using the Groups API including Publish to groups, group access member messages It affects my ongoing projects and projects that will be launched soon. I don’t know what to do.

January 31 at 7:54 PM
林宇智