Using the Gigya API with node.js

For one of my projects, I would like to try Gigya as a provider of social networks and write my application using Node.js. Has anyone done this?

Gigya provides a JavaScript API that is intended for use on the client.

http://developers.gigya.com/020_Client_API

It should be possible to adapt it for server-side use.

+4
source share
2 answers

Gigya client-side javascript is designed to work as much as possible in the browser, as they authenticate in 2 parts using cookies set by their domains. You can try to port it to run on the server side, but none of the public methods will work as advertised.

I wrote a wrapper for my REST API using their proprietary authentication, which I used in a working project for several weeks: https://github.com/jproulx/Gigya-Node-SDK - note that not everything has been fully verified, since I only needed to use a subset of server-side socialize services. This should serve as a good starting point for downloading something for your needs.

+4
source

Gigi has no official Node SDK yet. However, I wrote an SDK that implements the entire service.

In addition to the standard APIs, it contains special support for streaming data from accounts and DS.

Git: https://github.com/scotthovestadt/node-gigya

Install using "npm install gigya".

+1
source

Source: https://habr.com/ru/post/1379911/


All Articles