How can i accesss details of users in twitter sign in?


#1

After authentication I need to take the details of user to save in DB and need to redirect to my app.
T.signIn(); works but wt 2 do next…


#2

twttr.anywhere(function (T) {
T.signIn({
T.linkifyUsers();
authComplete: function(user) {
var currentUser,
screenName,
profileImage;
currentUser = T.currentUser;
screenName = currentUser.data(‘screen_name’);
profileImage = currentUser.data(‘profile_image_url’);
//ajax call to save details
//on sucess window.location= “xyz”;

  },
  signOut: function() {
    // triggered when user logs out
  }
});

});

let me kw wts d use of T.linkifyUsers();