This document is deprecated, please go to Tuya Developer Documentation Center to view the latest version: Tuya Smart Doc - Android SDK

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.



1.2. Login on Facebook


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


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

results matching ""

    No results matching ""