> ## 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.

# PFAuthenticationLoginWithFacebookGetResult

> PFAuthenticationLoginWithFacebookAsync 호출의 결과를 가져옵니다. PFEntityHandle은 항상 반환되지만, PFAuthenticationLoginResult의 추가 정보는 다음의 경우에만 반환됩니다.

PFAuthenticationLoginWithFacebookAsync 호출의 결과를 가져옵니다. PFEntityHandle은 항상 반환되지만, PFAuthenticationLoginResult의 추가 정보는 버퍼가 제공된 경우에만 반환됩니다.

## Syntax

```cpp theme={null}
HRESULT PFAuthenticationLoginWithFacebookGetResult(  
    XAsyncBlock* async,  
    PFEntityHandle* entityHandle,  
    size_t bufferSize,  
    void* buffer,  
    PFAuthenticationLoginResult result,  
    size_t* bufferUsed  
)  
```

### Parameters

**`async`**   XAsyncBlock\*<br />*Inout*

비동기 작업을 위한 XAsyncBlock입니다.

**`entityHandle`**   PFEntityHandle\*<br />*output*

다른 PlayFab API 호출을 인증하는 데 사용할 수 있는 PFEntityHandle입니다.

**`bufferSize`**   size\_t

결과 객체에 대한 버퍼의 크기입니다.

**`buffer`**   void\*<br />\**Out\_writes\_bytes\_to\_opt*(bufferSize,*bufferUsed)*

Login 결과 값과 해당 필드에 사용되는 바이트 버퍼입니다.

**`result`**   [PFAuthenticationLoginResult](/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginresult)<br />*optional, library-allocated output*

LoginResult 객체에 대한 포인터입니다.

**`bufferUsed`**   size\_t\*<br />*optional output*

제공된 버퍼에서 사용된 바이트 수입니다.

### Return value

Type: HRESULT

이 API 작업의 결과 코드입니다. 서비스 호출이 실패한 경우, 결과는 E\_PF\_ENCRYPTION\_KEY\_MISSING, E\_PF\_EVALUATION\_MODE\_PLAYER\_COUNT\_EXCEEDED, E\_PF\_FACEBOOK\_API\_ERROR, E\_PF\_INVALID\_FACEBOOK\_TOKEN, E\_PF\_PLAYER\_SECRET\_ALREADY\_CONFIGURED, E\_PF\_PLAYER\_SECRET\_NOT\_CONFIGURED, E\_PF\_REQUEST\_VIEW\_CONSTRAINT\_PARAMS\_NOT\_ALLOWED 또는 글로벌 PlayFab 서비스 오류 중 하나가 됩니다. 오류 처리에 대한 자세한 내용은 문서 페이지 "Handling PlayFab Errors"를 참조하세요.

## Remarks

PFAuthenticationLoginWithFacebookAsync 호출이 실패하면 entityHandle은 null이 됩니다. 그렇지 않은 경우, 더 이상 필요하지 않을 때 PFEntityCloseHandle을 사용하여 핸들을 닫아야 합니다. 반환된 경우, 'result'는 'buffer' 내의 포인터이며 별도로 해제할 필요가 없습니다.

## Requirements

**Header:** PFAuthentication.h

## See also

[PFAuthentication members](/services/playfab/api-references/c/pfauthentication/pfauthentication_members)


## Related topics

- [PFAuthenticationLoginWithFacebookAsync](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithfacebookasync.md)
- [Services C API 개요 - PFAuthentication.h](/ko/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationLoginWithFacebookGetResultSize](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithfacebookgetresultsize.md)
- [PFAuthenticationLoginWithPSNGetResult](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithpsngetresult.md)
- [PFAuthenticationLoginWithAppleGetResult](/ko/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithapplegetresult.md)
