Skip to content
Fresh 2026

FB.Android.RetrieveLoginStatus

Retrieves the login status for the user.

This will automatically log the user into your app and return an access token for your app. The user must be logged into Facebook on the device and must have previously logged into your app. The user will be shown a notification stating that the user has been logged in to your app.

Parameters

unity
public static void RetrieveLoginStatus(
    FacebookDelegate<ILoginStatusResult> callback
)
NameTypeDescriptionDefault
callbackFacebookDelegate<br> <ILoginStatusResult>A delegate that will be called with the login status result.Required

Example

unity
FB.Android.RetrieveLoginStatus(LoginStatusCallback);