对于我的一个项目,我想尝试将 Gigya 作为我的社交网络连接提供商,并且正在使用 Node.js 编写我的应用程序。有人做过吗?
Gigya 提供了一个旨在在客户端上使用的 JavaScript API。
http://developers.gigya.com/020_Client_API
应该可以将其调整为服务器端使用。
对于我的一个项目,我想尝试将 Gigya 作为我的社交网络连接提供商,并且正在使用 Node.js 编写我的应用程序。有人做过吗?
Gigya 提供了一个旨在在客户端上使用的 JavaScript API。
http://developers.gigya.com/020_Client_API
应该可以将其调整为服务器端使用。
Gigya's client side javascript is intended to be run in the browser as much as possible, since they perform 2 part authentication using cookies set by their domains. You can try to port it to run server side, but none of the public methods will work as advertised.
I've written a wrapper for their REST API using their proprietary authentication that I've been using in a work project for a few weeks: https://github.com/jproulx/Gigya-Node-SDK -- note that not everything has been tested thoroughly as I've only needed to use a subset of the socialize services on the server side. It should serve as a good jumping off point to bootstrap something for your needs.
Gigya 还没有官方的 Node SDK。但是,我编写了一个实现整个服务的 SDK。
除了标准 API 之外,它还包含对来自 Accounts & DS 的流数据的特殊支持。
Git:https ://github.com/scotthovestadt/node-gigya
使用“npm install gigya”安装。