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.
Related
I have created an app in Javascript to allow members of a facebook group (closed) to get event information. I have gotten the app approved by facebook and added it to the group, however only admins of the group are able to retrieve the required data. Regular members as well as moderators are unable to retrieve the events.
Is there a way of doing this that I just haven't found yet? Or is it not possible at all?
I want to build a small app, which helps people to learn the names of members of any facebook group they are part of (simular to a vocabulary trainer). Therefore I want to access the images and names of people in a group, but I have problems understanding the Facebook API-Documentation for Groups.
The Documentation says:
Public groups can be accessed with any token (but I also want to access not public groups)
user_managed_groups permission can be used to read the group content for a group in which the user is an admin (But what if the user is not the admin, just a normal member?)
So is there no way to access the group members of a closed group by using the User Access Token of a not-admin facebook user, even that he normaly would be able to see this information using the website or app?
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/
In this Link, it's described how to get, create, or delete groups that belongs to the application. But I cannot see these created application groups under my App's page. Where do I have to look for? Am I only able to get these groups by using graph api or are they displayed on App's facebook page?
The reasons you're not getting to see the group are;
- The group privacy is 'Closed', and
- You're not a member of the group
So, if your group's privacy is "Open", you can directly request;
https://www.facebook.com/groups/{GROUP-ID}
If not, you first need to join the group. To do so, request;
POST https://graph.facebook.com/v2.3/{GROUP-ID}/members?member={UID}&access_token={APP_TOKEN}
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.