syncUser Network Method

Informs Livefyre to pull user information from a previously set user sync URL. Returns a Boolean.

Variable Type Description
userId String The user ID to sync with Livefyre. You must have a user sync URL set with Livefyre before calling this method.

Java Example

network.syncUser(userId); 

Sample output:

true

NodeJS Example

network.syncUser(userId); 

Sample output:

true

PHP Example

$network->syncUser(userId); 

Sample output:

true

Python Example

network.sync_user(userId) 

Sample output:

True

Ruby Example

network.sync_user(userId) 

Sample output:

True

On this page