We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97befb6 commit bbc7e26Copy full SHA for bbc7e26
1 file changed
lib/models/user.js
@@ -64,10 +64,10 @@ module.exports = function (sequelize, DataTypes) {
64
photo = 'https://graph.facebook.com/' + profile.id + '/picture';
65
break;
66
case "twitter":
67
- photo = profile.photos[0].value;
+ photo = 'https://twitter.com/' + profile.username + '/profile_image?size=bigger';
68
69
case "github":
70
- photo = 'https://avatars.githubusercontent.com/u/' + profile.id + '?s=48';
+ photo = 'https://avatars.githubusercontent.com/u/' + profile.id + '?s=96';
71
72
case "gitlab":
73
photo = profile.avatarUrl;
0 commit comments