> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFAccountManagementLinkFacebookAccountRequest

> PFAccountManagementLinkFacebookAccountRequest データ モデル。Facebook のサインインは、Facebook のユーザー アクセス トークンを使用して実行されます。トークンの詳細は Facebook 開発者ドキュメントで確認できます。

PFAccountManagementLinkFacebookAccountRequest データ モデル。Facebook のサインインは、Facebook のユーザー アクセス トークンを使用して実行されます。トークンの詳細については、Facebook 開発者ドキュメント ([https://developers.facebook.com/docs/facebook-login/access-tokens/](https://developers.facebook.com/docs/facebook-login/access-tokens/)) を参照してください。たとえば Unity では、トークンは Facebook SDK の ScriptableObject FB で AccessToken として使用できます。なお、Facebook はアプリケーションごとに一意なユーザー ID を提供するため、タイトルは同じ Facebook アプリケーションを複数の PlayFab タイトル ID 間で再利用しないでください。再利用すると、PlayFab アカウント情報内のユーザーの Facebook ID に問題が生じる可能性があります。新しい PlayFab タイトル ID でアプリケーションを再利用する必要がある場合は、まず Facebook からすべてのアカウントのリンクを解除するか、最初のタイトル ID のすべてのユーザーを削除してください。

## 構文

```cpp theme={null}
typedef struct PFAccountManagementLinkFacebookAccountRequest {  
    const char* accessToken;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    bool const* forceLink;  
} PFAccountManagementLinkFacebookAccountRequest;  
```

### メンバー

**`accessToken`**   const char\*\
*null で終端されます*

Facebook から取得したユーザーの一意識別子です。

**`customTags`**   [PFStringDictionaryEntry](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry.md) const\*\
*nullptr の場合があります*

(オプション) 要求に関連付けられたオプションのカスタム タグです (ビルド番号、外部トレース識別子など)。

**`customTagsCount`**   uint32\_t

customTags の数

**`forceLink`**   bool const\*\
*nullptr の場合があります*

(オプション) 他のユーザーが既にアカウントにリンクされている場合は、そのユーザーのリンクを解除して再リンクします。

## 要件

**ヘッダー:** PFAccountManagementTypes.h

## 関連項目

[PFAccountManagementTypes のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)


## Related topics

- [PFAccountManagementClientLinkFacebookAccountAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkfacebookaccountasync.md)
- [Services C API overview - PFAccountManagementTypes.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members.md)
- [Link Facebook Account](https://docs.xbox.com/api-reference/account-management/link-facebook-account.md)
- [PFAccountManagementLinkFacebookInstantGamesIdRequest](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementlinkfacebookinstantgamesidrequest.md)
- [PFAccountManagementClientLinkFacebookInstantGamesIdAsync](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkfacebookinstantgamesidasync.md)
