Skip to main content
제공된 Facebook 액세스 토큰과 연결된 Facebook 계정을 사용자의 PlayFab 계정에 연결합니다

구문

매개 변수

entityHandle   PFEntityHandle 인증에 사용할 PFEntityHandle입니다. request   PFAccountManagementLinkFacebookAccountRequest* 채워진 요청 개체입니다. async   XAsyncBlock*
Inout
비동기 작업을 위한 XAsyncBlock입니다.

반환 값

형식: HRESULT 이 API 작업의 결과 코드입니다.

설명

This API is available on Win32, Linux, Android, iOS, and macOS. Facebook sign-in is accomplished using the Facebook User Access Token. More information on the Token can be found in the Facebook developer documentation (https://developers.facebook.com/docs/facebook-login/access-tokens/). In Unity, for example, the Token is available as AccessToken in the Facebook SDK ScriptableObject FB. Note that titles should never re-use the same Facebook applications between PlayFab Title IDs, as Facebook provides unique user IDs per application and doing so can result in issues with the Facebook ID for the user in their PlayFab account information. If you must re-use an application in a new PlayFab Title ID, please be sure to first unlink all accounts from Facebook, or delete all users in the first Title ID. 참고: ClientLoginWithFacebookAsync, ClientUnlinkFacebookAccountAsync. 작업의 상태를 가져오려면 XAsyncGetStatus를 호출합니다. 서비스 호출이 실패하면 비동기 결과는 E_PF_ACCOUNT_ALREADY_LINKED, E_PF_ACCOUNT_NOT_FOUND, E_PF_FACEBOOK_API_ERROR, E_PF_INVALID_FACEBOOK_TOKEN, E_PF_LINKED_ACCOUNT_ALREADY_CLAIMED 또는 전역 PlayFab 서비스 오류 중 하나가 됩니다. 오류 처리에 대한 자세한 내용은 “Handling PlayFab Errors” 문서 페이지를 참조하세요.

요구 사항

헤더: PFAccountManagement.h

참고 항목

PFAccountManagement 멤버
마지막 수정일 2026년 8월 13일