} else {
log.warn("This account already exist");
throw new EnMeExistPreviousConnectionException(getMessage("social.repeated.account"));
}
} else if (socialProvider.equals(SocialProvider.TWITTER)) {
TwitterAPIOperations operations = new TwitterAPITemplate(consumerSecret, apiKey, accessToken.getValue(),
accessToken.getSecret());
SocialUserProfile profile = operations.getProfile();
log.debug("twitter profile "+profile.toString());
final SocialAccount socialAccount = getSecurityService().getCurrentSocialAccount(socialProvider, profile.getId());
if (socialAccount == null) {
getSecurityService().addNewSocialAccount(
accessToken.getValue(), accessToken.getSecret(), null, profile,