@Override
 public void onCompleted(GraphUser user, Response response) {
   // TODO Auto-generated method stub
   view.dismissLoading();
   if (user == null) {
     view.showError(response.getError().getErrorMessage());
   } else {
     l.d("facebook login result : " + user.getInnerJSONObject().toString());
     SNSLoginData data = app().getUserConfig().loginData;
     data.nickName = user.getLastName() + user.getFirstName();
     data.sns = EXTRA_AUTO_LOGIN_FACEBOOK;
     data.snsHome = user.getLink();
     data.userId = (String) user.getProperty("email");
     try {
       data.profileImage =
           ImageRequest.getProfilePictureUrl(
                   user.getId(),
                   FacebookModel.PROFILE_IMAGE_SIZE,
                   FacebookModel.PROFILE_IMAGE_SIZE)
               .toString();
     } catch (MalformedURLException e) {
       // TODO Auto-generated catch block
       e.printStackTrace();
     }
     prefModel.setAutoLogin(true);
     prefModel.setAutoLoginAction(EXTRA_AUTO_LOGIN_FACEBOOK);
     loginModel.loginSNS(data);
   }
 }
 @Override
 public void onTwitterUserInfoComplete(TwitterModel model, SNSLoginData data) {
   // TODO Auto-generated method stub
   view.dismissLoading();
   prefModel.setAutoLogin(true);
   prefModel.setAutoLoginAction(EXTRA_AUTO_LOGIN_TWITTER);
   loginModel.loginSNS(data);
 }
 @Override
 public void onMe2AuthSuccess(Me2DayModel model, String authKey, String userId) {
   // TODO Auto-generated method stub
   view.dismissLoading();
   prefModel.setMe2LoginKey(authKey);
   prefModel.setMe2LoginId(userId);
   // 자동로그인 설정
   me2Model.setUserInfoCallback(this);
   me2Model.loadMe2UserInfo(userId);
 }
 private void checkAutoLogin() {
   // 2013-02-20 자동로그인은 인트로에서 처리하도록 변경
   // 더이상 자동으로 호출되지 않음
   if (prefModel.isAutoLogin()) {
     // 씨네폭스 자동로그인은 여기로 안 넘어옴
     if (EXTRA_AUTO_LOGIN_FACEBOOK.equals(prefModel.getAutoLoginAction())) {
       startActivityForResult(
           new Intent(this, FacebookLoginActivity.class), REQUEST_FACEBOOK_LOGIN);
     } else if (EXTRA_AUTO_LOGIN_ME2DAY.equals(prefModel.getAutoLoginAction())) {
       me2Model = new Me2DayModel(this);
       me2Model.setAuthCallback(this);
       me2Model.setUserInfoCallback(this);
       me2Model.loadMe2UserInfo(prefModel.getMe2LoginId());
     } else if (EXTRA_AUTO_LOGIN_TWITTER.equals(prefModel.getAutoLoginAction())) {
       twModel = new TwitterModel(this);
       twModel.setAuthCallback(this);
       twModel.setUserInfoCallback(this);
       twModel.loadTwitUserInfo(prefModel.getTwitterAccessToken());
     } else if (EXTRA_AUTO_LOGIN_YOZM.equals(prefModel.getAutoLoginAction())) {
       yozmModel = new YozmModel(this);
       yozmModel.setAuthCallback(this);
       yozmModel.setUserInfoCallback(this);
       yozmModel.loadYozmUserInfo(prefModel.getYozmAccessToken());
     }
   }
 }
 @Override
 public void onTwitterAuthSuccess(TwitterModel model, AccessToken access) {
   // TODO Auto-generated method stub
   view.dismissLoading();
   prefModel.setTwitterAccessToken(access);
   twModel.loadTwitUserInfo(access);
 }
 @Override
 public void onMe2AuthError(Me2DayModel model, String message) {
   // TODO Auto-generated method stub
   view.dismissLoading();
   view.showError(message);
   prefModel.initMe2DayInfo();
 }
 @Override
 public void onYozmAuthLoaded(YozmModel model, OAuthConsumer consumer) {
   // TODO Auto-generated method stub
   view.dismissLoading();
   AccessToken token = new AccessToken(consumer.getToken(), consumer.getTokenSecret());
   prefModel.setYozmAccessToken(token);
   yozmModel.loadYozmUserInfo(consumer);
 }
 @Override
 public void onClickYozmLogin(SelectLoginMethodView view) {
   // TODO Auto-generated method stub
   yozmModel = new YozmModel(this);
   yozmModel.setAuthCallback(this);
   yozmModel.setUserInfoCallback(this);
   AccessToken token = prefModel.getYozmAccessToken();
   if (token != null) yozmModel.loadYozmUserInfo(token);
   else yozmModel.loadYozmBaseInfo();
 }
 @Override
 public void onClickMe2dayLogin(SelectLoginMethodView view) {
   // TODO Auto-generated method stub
   me2Model = new Me2DayModel(this);
   me2Model.setAuthCallback(this);
   me2Model.setUserInfoCallback(this);
   String id = prefModel.getMe2LoginId();
   if (id != null) me2Model.loadMe2UserInfo(id);
   else me2Model.loadMe2BaseInfo();
 }
 @Override
 public void onClickTwitterLogin(SelectLoginMethodView view) {
   // TODO Auto-generated method stub
   twModel = new TwitterModel(this);
   twModel.setAuthCallback(this);
   twModel.setUserInfoCallback(this);
   AccessToken token = prefModel.getTwitterAccessToken();
   if (token != null) twModel.loadTwitUserInfo(token);
   else twModel.loadTwitAuthUrl();
 }