FB.GameGroupJoin

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
idstring

The group ID of the group to which you'd like to add the user.

Required
callbackFacebookDelegate <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);
}