Unity SDK

FB.GameGroupJoin

Updated: Mar 2, 2018
Copy for LLM
Creates a dialog that prompts its viewer to join a Game Group. See that feature's documentation for details.

Parameters

public static void GameGroupJoin(
    string id,
    FacebookDelegate<IGroupJoinResult> callback = null
)
Name Type Description Default
id
string
The group ID of the group to which you’d like to add the user. Required
callback
FacebookDelegate <IGroupJoinResult>
A callback which will be informed of the outcome of the dialog.
null

Example

FB.GameGroupJoin (
    gameGroupID,
    GroupJoinCallBack
);

void GroupJoinCallBack (IGroupCreateResult result) {
    Debug.Log(result.RawResult);
}