Google Groups Membership - google-groups

I have a problem with new google groups. I require new members to answer a question to join my group. How can I ask a membership question in new google groups?
Thanks.

It should be possible to set the Google Group permissions to "invite only" then write a website script that asks the user the question and if they answer correctly, adds them to the group via the Google Apps Provisioning API:
https://developers.google.com/google-apps/provisioning/#adding_a_member_to_a_group

Related

API to retrieve members of all google groups - Google Workspace

As an admin, I want to view the members of all groups present in a google workspace account with the help of an API. Is there any API to perform this action. If not are there any alternatives?
I tried searching in google docs page. They are having Directory API to list all the members of a given group. But I need to view members of all groups present in a google workspace account (not one group at a time)

Facebook group management API availability

is there a way in the Facebook API to manage groups members (add members or delete members) in closed group because i can't find anything related to this on the Facebook developers website.
Thanks
There is no API for general groups, you can only do that with App/Game groups - information about that are in the docs: https://developers.facebook.com/docs/graph-api/reference/v2.5/group/members/

Remove or hide create new sites button in google for user?

I have created sites and group in google. And i don't want to user can create new sites or new group. So how to restrict the option to users?
I think no, if you have an google account , you can create a google sites. I think it's just Google Group can be restricted to create a group.

API for creating groups and adding friends to it

Is there any API using which my application can create a new groups and also add friends to that group. and should be able to view the comments on that group add comments to that group.
Are there any API's supporting this
The Facebook API doesn't include methods to create groups. Apps can read group information and post to a group's wall, but not create a group. You can read more on the Facebook Developer pages about the methods available for groups.

Add Friends to Group on Facebook

Ive looked through the API and dont see it, but I thought Id ask anyway. Can I add users to a group through the API?
It is not possible to add users to a group via the API.