QQ social login guide
QQ (also known as Tencent QQ) is a Chinese instant messaging service that provides microblogging, social games, music, and group and voice chat software. There are approximately 900 million active QQ accounts.
Before you begin
Although not detailed in this configuration guide, you can create a new QQ app that enables users to log on to your web site by using their QQ account. To create a QQ developer account, you must complete a registration process that includes such tasks as providing a copy of your business license:
If you already have a QQ developer account, you can create a social login app from the QQ developer’s site (https://connect.qq.com).
Web pages on the QQ Developers site are written in Chinese. If you do not speak Chinese, you might want to use a web browser than can translate the QQ web pages. For this configuration guide, we used Google Chrome and its Translate to English option.
Configure QQ as a social login provider
To configure QQ as a social login provider, make sure you have your QQ app ID and app key, and then complete the following procedure:
-
Log on to your Social Login Dashboard (https://dashboard.janrain.com).
-
From the Dashboard home page, click the Manage Engage Dashboard icon.
-
From the Engage Dashboard home page, in the Widgets and SDKs section, click Sign-Ins.
-
From the Sign-in page, verify that Widget is selected and then expand Providers.
-
From the list of Providers, click QQ.
-
In the QQ dialog box, click Next until you reach the screen requesting the app ID and app key:
-
Paste your QQ app ID in the App ID field, paste your QQ app key in the App Key field, and then click Save. QQ appears in your social login widget.
-
When you are finished, select Save and Publish and then click Publish. It might take as long as one hour before QQ appears as a social login option on your web site.
Test QQ social login
To test QQ social login, complete the following procedure:
-
Do one of the following:
-
If you have just published your widget settings, click the Test your widget link that appears after the widget has been saved.
-
If you previously published your widget settings then, from the Engage Dashboard Sign-in page, click Launch a test widget.
-
-
From the Test page, click the QQ icon:
-
In the QQ account security window, logon using a valid QQ account.
-
If login succeeds, information returned from the QQ profile is displayed in the API response preview field.
The returned profile information will vary depending on the QQ account used in the test.
You can verify QQ profile fields by completing the following procedure:
-
From the Engage Dashboard home page, click the Manage Providers icon:
-
From the Configure Providers page, click QQ.
-
Profile information returned from QQ is displayed onscreen. For example:
Assign a different QQ app for social login
If you want to use a different QQ app or if you need to change your existing app, you must update the QQ provider configuration settings. To do that, complete the following procedure:
-
From the Engage Dashboard home page, click the Manage Providers icon:
-
From the Configure Providers page, click QQ.
-
Click the green Configured button to display the QQ is currently enabled dialog box:
-
To change the QQ configuration, click Modify these settings.
-
In the QQ dialog box, change the App ID and/or App Key as needed, and then click Save:
Although you can modify your QQ settings, you cannot delete those settings. If you delete the settings and then try to save your changes, you’ll see the error message Please enter your Consumer Key and Secret exactly as QQ shows them.
This means that you cannot “unconfigure” the provider: once configured, the QQ icon will always be shown as green (i.e., configured) in the Social Login Dashboard.
Remove QQ as a social login provider
You can remove QQ as a social login provider by completing the following procedure:
-
Log on to your Social Login Dashboard (https://dashboard.janrain.com).
-
From the Dashboard home page, click the Manage Engage Dashboard icon.
-
From the Engage Dashboard home page, in the Widgets and SDKs section, click Sign-Ins.
-
From the Sign-in page, verify that Widget is selected and then expand Providers.
-
In the widget, click the X in the upper right corner of the QQ icon.
-
Scroll to the bottom of the page, select Save and Publish, and then click Publish. QQ no longer appears in the sign-on widget.
You must always have at least one social login provider in the widget. If you delete all the providers and then click Publish, you’ll see the error message Couldn’t save configuration: No providers.
Updated almost 3 years ago