Creates a dialog that prompts its viewer to join a Game Group. See that feature's documentation for details.
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 |
FB.GameGroupJoin (
gameGroupID,
GroupJoinCallBack
);
void GroupJoinCallBack (IGroupCreateResult result) {
Debug.Log(result.RawResult);
}