1.1. Using Platform of a Third Party for Login

The third-party login needs to configure the corresponding third-party configuration information on the tuya iot platform, otherwise, calling the following interface will fail.

image-20200608154257066

image-20200608154314932

1.2. Login on Facebook

Declaration

TuyaHomeSdk.getUserInstance().loginByFacebook(String phoneCode, String token, ILoginCallback callback);

Parameters

Parameters Description
phoneCode phone code,such as:86
token The Token that authorizes login on Facebook.

results matching ""

    No results matching ""