댓글 등록된 SNS 를 코멘트에 표시

This commit is contained in:
gnuboard
2013-05-29 10:51:02 +09:00
parent 22aee8998c
commit 8b57547440
4 changed files with 15 additions and 69 deletions

View File

@ -70,15 +70,6 @@ if (!$board['bo_use_sns']) return;
break;
default :
$twitter_url = G4_SNS_URL."/twitter/redirect.php";
// 안먹히는 코드 ㅠㅠ
if ($member['mb_twitter_token'] && $member['mb_twitter_token_secret']) {
$connection = new TwitterOAuth(CONSUMER_KEY, CONSUMER_SECRET, $member['mb_twitter_token'], $member['mb_twitter_token_secret']);
$content = $connection->get('account/verify_credentials');
if (200 == $connection->http_code) {
$twitter_user = true;
$twitter_url = $connection->getAuthorizeURL($token);
}
}
}
}