php - Fatal error: Call to undefined method getLoginStatusUrl -


facebook php sdk calls facebook::getloginstatusurl() method, method not exist in sdk.

i'm using following code:

if ($user) {    $logouturl = $facebook->getlogouturl();  }  else {     $statusurl = $facebook->getloginstatusurl();     $loginurl = $facebook->getloginurl();  }  

what do?

actually in latest release of sdk have removed deprecated getloginstatusurl.

it in enter image description herefact not of such use, that's why have removed guess.

anyways, can use getloginurl


Comments

Popular posts from this blog

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

Why can rails not find a route created by a helper? -

php - Redirect and hide target URL -