Chinese Social Networks Authentication (CSNA)
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
This module allow users to sign up and sign in to Drupal site with their user account from these top Chinese Social Networks.
模å—å…许用户使用ä¸å›½æµè¡Œçš„ç¤¾äº¤ç½‘ç»œè´¦å·æ³¨å†Œå¹¶ç™»å½•Drupal网站。
Currently we support:
- Sina Weibo login integration (Sina Weibo: Very popular Chinese micro-blogging service and social network, similar to Twitter.)
- Tencent QQ login integration (Tencent QQ: The largest Chinese Instant Message provider.)
- RenRen login integration (RenRen: One of the largest Chinese Community websites, similar to Facebook.)
- Kaixin001 login integration (Kaixin001: One of the largest Chinese Community websites, similar to Facebook.)
ç›®å‰æ¨¡å—æ•´åˆäº†: 新浪微åšç™»å½•ã€QQ登录ã€äººäººç½‘登录ã€å¼€å¿ƒç½‘登录ã€å¾®ä¿¡å¼€æ”¾å¹³å°ç™»å½•
Configuration:
The module contains a main module which provides an API for a number of sub-modules (currently four), each one being an implementation of the API hooks to support each different Chinese Social Network Authentication API.
Basic Instructions:
- Install and enable the main module (CSNA) and any of the desired sub-modules.
模å—åŒ…å«æœ‰ä¸€ä¸ªä¸»æ¨¡å—ä¸Žå››ä¸ªåæ¨¡å—,使用常规方法安装并å¯ç”¨ä¸»æ¨¡å—ä¸Žä»»ä½•ä½ æƒ³è¦çš„忍¡å—。 - Go to the configuration page (/admin/config/csna) and enter the KEY and SECRET obtained from the corresponding Chinese Social Networks (See next section on how to get the keys).
在模å—设置页é¢(/admin/config/csna),然åŽå°†ä½ 从这些社交网站ä¸ç”³è¯·å¾—到的密钥设置好。
Â
How to get a KEY and SECRET code?
For any authentication provider to be integrated, a KEY and SECRET code should be configured and these ones could be obtained on the following websites:
- Weibo: http://open.weibo.com/
- QQ: http://connect.qq.com/
- Renren: http://dev.renren.com/website
- Kaixin: http://open.kaixin001.com/
- Weixin Open: https://open.weixin.qq.com/cgi-bin/index?t=home/index&lang=zh_CN
Â
Try out the demonstration: http://csna.d1.davyin.com
Future developments:
These CSNs use Oauth protocol, so its not only for user sign in. A potential idea for the evolution of this module would be to provide some kind of API based on CSNA to allow Drupal (and other modules) to directly post (to) or get (from) information through the Oauth protocol.
Contributions are welcome!!
Feel free to follow up in the issue queue for any contributions, bug reports, feature requests.
Tests, feedback or comments in general are highly appreciated.
This module was approved through the Project Application issue queue process at:
#1791048: Chinese Social Networks Authentication (CSNA)
This module was sponsored by DAVYIN | 上海戴文
