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
)
NameTypeDescriptionDefault

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