Socialid.events.onConnectStart

From Social ID Developers
Jump to: navigation, search

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"
 }
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox