Hi, i 'm working with Social Engine and Twitter API. However the end_session is not working to log the user out.
$twitterTable = Engine_Api::_()->getDbtable(‘twitter’, ‘user’);
$twitter = $twitterTable->getApi();
$twitterOauth = $twitterTable->getOauth();
if( $twitter && $twitterOauth ) {
try {
$result = $accountInfo = $twitter->account->end_session();
} catch( Exception $e ) {
// Silence
echo $e;die();
}
}