Is is possible to join FB group / Invite Friends using api

I am working on facebook api using php. I did a functionality to get the search feature in facebook (i.e) by user, group, etc.

Now i am in need to invite the search result user and join that search result group.

I tried more in google but i am not getting any source to join a group.. Is it possible to do that using facebook api?

Please help me on this..

Answers


Yes you can send invites to the users to join a group. Here's the documentation.

But the condition is that:

An app access token can invite any app users to a group created by that app.

The request must be made with an app access token and this same app must have created that group. So, you cannot send request to the friends if that group was not created using an app.

Edit:

If you are asking that a user can join the group with Graph API, it's (of course) not possible!


Need Your Help

What is the no-undefined-behavior way of deserializing an object from a byte array in C++11 (or later)?

c++ c++11 strict-aliasing

To overcome alignment issues, I need to memcpy into a temporary. What type should that temporary be? gcc complains that the following reinterpret_cast will break strict aliasing rules: