i want to post using my custom api 'publish_to_groups' permisson not available
eerror: Invalid Scopes: publish_to_groups. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/facebook-login/permissions
They removed the Groups API a few months ago.
https://developers.facebook.com/blog/post/2024/01/23/introducing-facebook-graph-and-marketing-api-v19/
The Facebook Groups API is deprecated in v19 and in 90 days will be removed from all versions. This deprecation includes all Permissions (publish_to_groups, groups_access_member_info) and Reviewable Features (Groups API) associated with the Facebook Groups API.