Tutorial : Facebook Logout Url



 I need a URL link that logouts the user. 


I was using a simple URL to logout the user ;

("http://m.facebook.com/logout.php")

The user's access_token to be passed logout :


public function getLogoutUrl($params=array()) {
    return $this->getUrl(
        'www',
        'logout.php',
        array_merge(array(
            'next' => $this->getCurrentUrl(),
            'access_token' => $this->getAccessToken(),
        ), $params)
    );
}


https://www.facebook.com/logout.php?next={0}&access_token={1}

Publishing : Admin
 
Return to top of page SiteMap Follower TV Online Copyright © 2010 - 2016 | All Rights Reserved | SaHaBaT BUKIT BOTAK Edited by LAG