Updated instagram generator
parent
fc55e385e4
commit
a8beb6a43a
|
@ -926,7 +926,10 @@ inquirer.prompt({
|
||||||
user.instagram = profile.id;
|
user.instagram = profile.id;
|
||||||
user.tokens.push({ kind: 'instagram', accessToken: accessToken });
|
user.tokens.push({ kind: 'instagram', accessToken: accessToken });
|
||||||
user.profile.name = profile.displayName;
|
user.profile.name = profile.displayName;
|
||||||
user.email = '';
|
// Similar to Twitter API, assigns a temporary e-mail address
|
||||||
|
// to get on with the registration process. It can be changed later
|
||||||
|
// to a valid e-mail address in Profile Management.
|
||||||
|
profile.username + "@instagram.com";
|
||||||
user.profile.website = profile._json.data.website;
|
user.profile.website = profile._json.data.website;
|
||||||
user.profile.picture = profile._json.data.profile_picture;
|
user.profile.picture = profile._json.data.profile_picture;
|
||||||
user.save(function(err) {
|
user.save(function(err) {
|
||||||
|
|
Loading…
Reference in New Issue