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

# 使用 Facebook 和 Unity 設定 PlayFab 驗證

> 逐步教學課程，說明如何使用 PlayFab SDK 將 Facebook 登入整合至 Unity 專案，涵蓋 Facebook 應用程式設定和玩家驗證程式碼。

本教學課程將引導您完成使用 Facebook 和 Unity 進行 PlayFab 驗證的範例。

## 需求

* [Unity 5+](https://unity3d.com/) 和已建立的專案。
* 用於測試的 [Facebook 帳戶](https://www.facebook.com/)。
* 已匯入專案的 [Facebook SDK](https://developers.facebook.com/docs/unity/)。
* 已註冊的 [PlayFab](https://developer.playfab.com/) 遊戲。
* 已匯入專案並設定遊戲參考的 [PlayFab SDK](https://aka.ms/playfabunitysdkdownload)。
* 熟悉[登入基本概念和最佳做法](/zh-TW/services/playfab/identity/player-identity/login/login-basics-best-practices)。

## 實作

### 註冊 Facebook 應用程式

首先，瀏覽至 [Facebook 開發人員入口網站](https://developers.facebook.com/)：

1. 將滑鼠移至 **My Apps** 按鈕上。
2. 選取 **Add a New App**，如下圖所示。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-add-a-new-app.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=8f2cf49110ee6fa800418dc19843cb16" alt="Facebook 新增應用程式" width="1049" height="502" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-add-a-new-app.png" />

隨即開啟新的 **Application** 快顯視窗。

1. 輸入您的 **Application** 名稱。
2. 輸入 **Contact Email**。

<Note>
  請務必自行設定*唯一*的 **Application Name** 和 **Email**，如下圖所示。
</Note>

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-new-app-id.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=7a0feb9725217dcca8d4b0fb861e3c3e" alt="Facebook 新的應用程式 ID" width="766" height="369" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-new-app-id.png" />

1. 瀏覽至 **Settings** 索引標籤。
2. 然後移至 **Basic** 子索引標籤。
3. 找到您的 **Application ID**。
   * 將它複製到容易存取的安全位置。
     我們稍後會使用它來設定 Facebook SDK。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-save-app-id.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=540b62a0ad44a22f49fa944e2d6741d3" alt="Facebook 儲存應用程式 ID" width="1049" height="650" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-save-app-id.png" />

瀏覽至 [Facebook 存取權杖工具](https://developers.facebook.com/tools/accesstoken/)。

1. 在清單中找到您的 **App**。
2. 確認它已指派 **User Token**。

<Note>
  如果您*沒有*已指派的使用者權杖，請使用畫面右側的按鈕要求一個。每當您需要新的使用者權杖時，請參閱此頁面。如果在 PC 上測試期間授權失敗，最可能的原因是權杖已過期。請重新整理頁面以取得新的使用者權杖，然後再次測試。
</Note>

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/access-token-tool.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=8bcd65dadccacafbfe04227bd3d5ad4c" alt="Facebook 存取權杖工具" width="1094" height="406" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/access-token-tool.png" />

1. 在您的 **Application Manager** 頁面上，瀏覽至 **+ Add Products**。
2. 找到 **Facebook Login** 項目，然後選取 **Get Started**。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-html5/login-get-started.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=bd346c82af2a1914bd8dfca79653f5c6" alt="Facebook 登入開始使用" width="1205" height="601" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-html5/login-get-started.png" />

應該會開啟包含 **Login** 產品設定的頁面。

1. 確認您已開啟 **Login** 產品的 **Settings** 頁面。
2. 確認 **Client OAuth** 和 **Web OAuth** 都已開啟。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-html5/login-product-settings.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=493c1ca8600489493ca47ced5c579204" alt="Facebook 登入產品設定" width="1204" height="915" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-html5/login-product-settings.png" />

### 設定 Facebook SDK

開啟您的 **Unity 專案**：

1. 在檔案功能表中選取 **Facebook**。
2. 然後選取 **Edit Settings**。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/edit-project-settings.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=fbf61a04fb83b8ada1e829f7918cdc14" alt="編輯 Facebook Unity 專案設定" width="518" height="483" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/edit-project-settings.png" />

**Inspector** 視窗會顯示目前的 **Facebook SDK** 設定。

* 在對應欄位中輸入您的 **Application ID**，如下圖所示。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/enter-app-id.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=46683d51640caa63de8f3c828b2f7adf" alt="在 Facebook SDK 設定中輸入應用程式 ID" width="477" height="528" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/enter-app-id.png" />

### 簡單的驗證指令碼

建立新的 **Game Object**，並將其重新命名為 **PlayfabFacebookAuthExample**，如下圖所示。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/create-game-object.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=3a19b0150725400f2affedef4c8c0ab8" alt="建立新的 Game Object" width="446" height="342" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/create-game-object.png" />

1. 建立名為 **PlayfabFacebookAuthExample.cs** 的指令碼。
2. 將它新增至 **Game Object**，如下圖所示。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/add-example-script.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=df63197b8889dcd5fccadabef66e37e0" alt="將範例指令碼新增至遊戲物件" width="1025" height="444" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/add-example-script.png" />

在 `PlayfabFacebookAuthExample.cs` 中放入下列程式碼。

```csharp theme={null}
// Import statements introduce all the necessary classes for this example.
using Facebook.Unity;
using PlayFab;
using PlayFab.ClientModels;
using UnityEngine;
using LoginResult = PlayFab.ClientModels.LoginResult;

public class PlayfabFacebookAuthExample : MonoBehaviour
{
    // holds the latest message to be displayed on the screen
    private string _message;

    public void Start()
    {
        SetMessage("Initializing Facebook..."); // logs the given message and displays it on the screen using OnGUI method

        // This call is required before any other calls to the Facebook API. We pass in the callback to be invoked once initialization is finished
        FB.Init(OnFacebookInitialized);  

    }

    private void OnFacebookInitialized()
    {
        SetMessage("Logging into Facebook...");

        // Once Facebook SDK is initialized, if we are logged in, we log out to demonstrate the entire authentication cycle.
        if (FB.IsLoggedIn)
            FB.LogOut();

        // We invoke basic login procedure and pass in the callback to process the result
        FB.LogInWithReadPermissions(null, OnFacebookLoggedIn);
    }

    private void OnFacebookLoggedIn(ILoginResult result)
    {
        // If result has no errors, it means we have authenticated in Facebook successfully
        if (result == null || string.IsNullOrEmpty(result.Error))
        {
            SetMessage("Facebook Auth Complete! Access Token: " + AccessToken.CurrentAccessToken.TokenString + "\nLogging into PlayFab...");

            /*
             * We proceed with making a call to PlayFab API. We pass in current Facebook AccessToken and let it create
             * and account using CreateAccount flag set to true. We also pass the callback for Success and Failure results
             */
            PlayFabClientAPI.LoginWithFacebook(new LoginWithFacebookRequest { CreateAccount = true, AccessToken = AccessToken.CurrentAccessToken.TokenString},
                OnPlayfabFacebookAuthComplete, OnPlayfabFacebookAuthFailed);
        }
        else
        {
            // If Facebook authentication failed, we stop the cycle with the message
            SetMessage("Facebook Auth Failed: " + result.Error + "\n" + result.RawResult, true);
        }
    }

    // When processing both results, we just set the message, explaining what's going on.
    private void OnPlayfabFacebookAuthComplete(LoginResult result)
    {
        SetMessage("PlayFab Facebook Auth Complete. Session ticket: " + result.SessionTicket);
    }

    private void OnPlayfabFacebookAuthFailed(PlayFabError error)
    {
        SetMessage("PlayFab Facebook Auth Failed: " + error.GenerateErrorReport(), true);
    }

    public void SetMessage(string message, bool error = false)
    {
        _message = message;
        if (error)
            Debug.LogError(_message);
        else
            Debug.Log(_message);
    }

    public void OnGUI()
    {
        var style = new GUIStyle { fontSize = 40, normal = new GUIStyleState { textColor = Color.white }, alignment = TextAnchor.MiddleCenter, wordWrap = true };
        var area = new Rect(0,0,Screen.width,Screen.height);
        GUI.Label(area, _message,style);
    }
}
```

## 測試

### 在編輯器中執行應用程式

1. 選取 **Play** 按鈕。**Facebook** 初始化 (並發出驗證呼叫) 後，遊戲檢視中會出現 **Facebook** 驗證對話方塊。
2. 輸入 **User Token**。
3. 選取 **Send Success** 按鈕，如下圖所示。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/enter-user-token.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=b3384d650c0264c549d2ef1780c4eb98" alt="在 Facebook 驗證對話方塊中輸入使用者權杖" width="903" height="581" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/enter-user-token.png" />

* 檢查主控台輸出。它應該會顯示我們的偵錯陳述式，如下圖所示。
* 如果沒有看到任何錯誤，表示驗證成功。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/debug-console-output.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=720db9bf8bc65ead9c9ff196c817a2fe" alt="偵錯主控台輸出" width="698" height="389" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/debug-console-output.png" />

### 在 Android 上執行應用程式

在 Android 上啟動應用程式之前，您必須執行額外的設定步驟：

* 首先，您必須確認已選取 Android 平台，並已設定唯一的 **Package ID** (如下列範例所示)。

<Note>
  請務必建立您自己的*唯一* **Package ID**。
</Note>

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/set-android-package-id.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=e8bdadc7a8f8bf9ef4318a55f2d28338" alt="設定 Android 套件 ID" width="1178" height="617" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/set-android-package-id.png" />

<Tip>
  **選擇性步驟**：安裝 [Open SSL](https://wiki.openssl.org/index.php/Binaries)，並將其新增至 **PATH** 環境變數。如果缺少它，Unity 會在建置期間產生無害的錯誤。此錯誤不會停止建置，也不會影響執行。
</Tip>

接著，在您的 **Facebook Application** 主控台中：

1. 瀏覽至 **Basic** 設定。
2. 選取 **+ Add Platform**，如下方提供的範例所示。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/facebook-add-platform.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=7ee5741660e7e45cb2a7c81514e1fd1f" alt="Facebook 應用程式主控台新增平台" width="1077" height="742" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/facebook-add-platform.png" />

* 然後從可用平台清單中選取 **Android**。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/select-android-platform.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=eac3fadcf67a0ce0c6abc1181dba3781" alt="Facebook 選取 Android 平台" width="709" height="453" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/select-android-platform.png" />

隨即出現包含平台特定設定的面板。

* 填入您的 **Package ID**。
* 選取 **Save** (**Save** 按鈕隱藏在頁面右下角)。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/android-platform-settings.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=b6ffafffedb54020a4a0ad1d51ac078b" alt="Android 平台設定" width="821" height="383" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/android-platform-settings.png" />

在您的 Android 裝置上正常建置並執行應用程式。

* 應用程式應該會以 Facebook 登入頁面歡迎您。
* 登入後，請留意畫面上的訊息變化。
* 最後，您應該會看到一則訊息，指出已在 PlayFab 中成功驗證。整個程序如下方提供的範例所示。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/playfab-facebook-auth-on-android.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=73ca707fbe085b61bbeaf369702b2386" alt="Android 上的 PlayFab Facebook 驗證" width="1285" height="914" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/playfab-facebook-auth-on-android.png" />

### 在 iOS 上執行應用程式

在 iOS 上啟動應用程式之前，您必須執行額外的設定步驟。

* 首先，確認您已選取 **iOS** 平台。
* 然後，設定唯一的 **Bundle ID**，如下方提供的範例所示。
* 請務必建立您自己的*唯一* **Package ID**。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/set-ios-bundle-id.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=3599c6de938ed564cc5dc7ae572ea8c8" alt="設定 iOS 套件組合 ID" width="1061" height="616" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/set-ios-bundle-id.png" />

接著，在您的 **Facebook Application Console** 中：

1. 瀏覽至 **Basic** 設定。
2. 選取 **+ Add Platform**，如下方提供的範例所示。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/facebook-add-platform.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=7ee5741660e7e45cb2a7c81514e1fd1f" alt="Facebook 應用程式主控台新增平台" width="1077" height="742" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/facebook-add-platform.png" />

* 從可用平台清單中選取 **iOS**。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/select-ios-platform.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=396c5464cb9dba1c7da77ec8484bc86e" alt="Facebook 選取 iOS 平台" width="709" height="453" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/select-ios-platform.png" />

隨即出現包含平台特定設定的面板。

* 填入您的 **Package ID**。
* 選取 **Save** 按鈕 (**Save** 按鈕隱藏在頁面右下角)。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/ios-platform-settings.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=14c5ccc92e77b857aa2bddf50a6437dd" alt="iOS 平台設定" width="906" height="430" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/ios-platform-settings.png" />

* 接著，照常建置應用程式。
* 完成後，使用 **XCode** 開啟 **Project**。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/open-ios-project.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=8b1b51af9c293e12e99de0f37348575a" alt="使用 XCode 開啟 iOS 專案" width="770" height="804" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/open-ios-project.png" />

* 選取 **Project** 以開啟 **Project Settings**。
* 確認 **Bundle ID** 與您唯一的 **Package ID** 相符。

<img src="https://mintcdn.com/microsoft-4404708b/wQJwYr9vT-FdsCSx/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/ios-project-settings-verify-bundle-id.webp?fit=max&auto=format&n=wQJwYr9vT-FdsCSx&q=85&s=134ffb82cfab08931fdafae6201a9670" alt="iOS 專案設定：確認套件組合 ID" width="1946" height="1304" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/ios-project-settings-verify-bundle-id.webp" />

* 請務必選取正確的裝置。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/ios-project-settings-select-device.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=ba4e9bc8666986003c926585554c88e1" alt="iOS 專案設定：選取裝置" width="684" height="268" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/ios-project-settings-select-device.png" />

* 並選取正確的 **Identity Team**。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/ios-project-settings-select-identity-team.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=3875ebcc3d1bdd8c50810b9a94c0ed83" alt="iOS 專案設定：選取 Identity Team" width="490" height="268" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/ios-project-settings-select-identity-team.png" />

最後，照常執行應用程式。

* 啟動後，應用程式會讓您使用網頁瀏覽器登入 Facebook。
* 完成後，系統會叫用 PlayFab 驗證，並以訊息指出結果。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/playfab-facebook-auth-on-ios.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=9ec6a4d3c32ebcad5452e897f98c211e" alt="iOS 上的 PlayFab Facebook 驗證" width="540" height="720" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/playfab-facebook-auth-on-ios.png" />

### 透過 PlayFab Game Manager 檢查

在 Game Manager 中開啟您的 PlayFab 遊戲。

* 瀏覽至儀表板。
* 參閱 **PlayStream Debugger** 面板以檢查最新事件。您應該會看到 Facebook 驗證事件，如下列範例所示。

<img src="https://mintcdn.com/microsoft-4404708b/mLCHf0iQv3VidfBe/images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/playfab-facebook-auth-event.png?fit=max&auto=format&n=mLCHf0iQv3VidfBe&q=85&s=f9d6980c6cef4ca74b9747a5d55d3c45" alt="PlayStream Debugger Facebook 驗證事件" width="868" height="258" data-path="images/playfab/identity/player-identity/platform-specific-authentication/tutorials/facebook-unity/playfab-facebook-auth-event.png" />

此時，您已成功為 PlayFab 整合 Facebook 驗證。


## Related topics

- [平台特定驗證](/zh-TW/services/playfab/identity/player-identity/platform-specific-authentication/index.md)
- [使用 Facebook 和 HTML5 設定 PlayFab 驗證](/zh-TW/services/playfab/identity/player-identity/platform-specific-authentication/facebook-html5.md)
- [使用 Steam 和 Unity 設定 PlayFab 驗證](/zh-TW/services/playfab/identity/player-identity/platform-specific-authentication/steam-unity.md)
- [使用 Kongregate 和 Unity 設定 PlayFab 驗證](/zh-TW/services/playfab/identity/player-identity/platform-specific-authentication/kongregate-unity.md)
- [使用 Google 和 HTML5 設定 PlayFab 驗證](/zh-TW/services/playfab/identity/player-identity/platform-specific-authentication/google-html5.md)
