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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

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