Socialid.events.onConnectStart
From Social ID Developers
Revision as of 20:15, 3 November 2014 by Dirceu.tiegs (Talk | contribs)
Contents |
Description
Triggered when an user starts the connection process for a new login provider.
Adding Handler
socialid.events.onConnectStart.addHandler(handler)
Event Data
event | onConnectStart | provider | Provider used in the connection. Can be "facebook", "twitter", "linkedin", or "gplus". |
---|
Example
Adding a handler for the onConnectStart event of the Social Connect widget:
socialid.events.onConnectStart.addHandler(function(data) { console.log("Website received onConnectStart: ", data); });
Example response object:
{ event: "onConnectStart", provider: "twitter" }