Socialid.events.onConnectSuccess

From Social ID Developers
Jump to: navigation, search

Contents

Description

Triggered when the user ends the connection process successfully.

Adding Handler

socialid.events.onConnectSuccess.addHandler(handler)

Event Data

event onConnectSuccess
provider Provider used in the connection. Can be "facebook", "twitter", "linkedin", or "gplus".

Example

Adding a handler for the onConnectSuccess event of the Social Connect widget:

 socialid.events.onConnectSuccess.addHandler(function(data) {
   console.log("Website received onConnectSuccess: ", data);
 });

Example response object:

 {
   event: "onConnectSuccess",
   provider: "facebook"
 }
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox