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

javascript - jquery or ashx not working -

python 3.x - Mapping specific letters onto a list of words -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -