TapTap Login Features
To access TapTap Developer Services (hereinafter referred to as TDS), your users need to have a TapTap account. If users do not use a TapTap account, your application may encounter errors when calling TDS service APIs. This document introduces how to implement TapTap login in your application.
Business Introduction
The TapTap account service is an authorized login system built on the standard OAuth 2.0 protocol, providing developers with a simple, secure, and fast account login authorization function. It eliminates the cumbersome steps of entering account passwords for users, allowing them to use your application with just one-click authorization through their TapTap account.
After obtaining user authorization, developers can obtain related public information of TapTap users through API calls, including user nicknames, avatars, etc., which can be used to enhance the user experience of the application.
Preliminary Work
Please ensure that the activation operation has been completed in TapTap Developer Center > Application Configuration.
Implement Interactive Login
If there is no user login status, provide users with a visual clickable login interface. The TapTap review team will review your login interface when the application is listed in the TapTap store. Please be sure to draw it according to the Login Button Design Specification.
Single Login Method
When only TapTap login is provided in the application, it is recommended to draw an interactive login button on the main interface of starting the game. The size of the button and the text on the button should not mislead or hinder the user's normal and smooth clicks.
The design style of the login button can appropriately add style elements that match the game's temperament within the range allowed by the Login Button Design Specification. In addition, TDS also provides you with design icons for TapTap login buttons in different scenarios to help you quickly implement the login process. Please click Login Button Resources to download resources.
Multiple Login Methods
If the game has other login methods simultaneously, provide users with a login interface with a reasonable layout, and differentiate each login method as much as possible in appearance so that users can quickly find their target.
Implement Silent Login
Silent login can help users skip the login process, usually used when users need the previous login status the next time they start the game.
When the user starts the game, you can try to check if the user has already logged in on the current device and if the login information is still valid.
- See Check Login Status and User Information for details.
This way, you can try to help users complete the login process without displaying the login button or interface.
Login Authorization
The TapTap account service for mobile applications needs to be used in conjunction with the TapTap mobile client. TapSDK will automatically select the appropriate login process based on the installation status of the TapTap client on the user's device.
Click here to download the TapTap mobile client.
Invoke TapTap Client for Authorized Login
When the user clicks the TapTap login button, if TapSDK detects that the TapTap client is installed on the user's device, it will automatically invoke the TapTap client on the device and recognize the login information in the client for authorized login.
Open WebView for Authorized Login
When the user clicks the TapTap login button, if TapSDK detects that the TapTap client is not installed on the user's device, it will prompt the user to download the TapTap client.