Skip to content

Instantly share code, notes, and snippets.

@iktakahiro
Last active February 24, 2016 08:55
Show Gist options
  • Save iktakahiro/9c5036588b939db32b73 to your computer and use it in GitHub Desktop.
Save iktakahiro/9c5036588b939db32b73 to your computer and use it in GitHub Desktop.
Linking Account
```
async.each(data, function(targetUser, cb) {
if (targetUser.email_verified) {
var aryTmp = user.user_id.split('|');
var provider = aryTmp[0];
var targetUserId = aryTmp[1];
request.post({
url: userApiUrl + '/' + targetUser.user_id + '/identities',
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment