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

hibernate - How to load global settings frequently used in application in Java -

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

objective c - Ownership modifiers with manual reference counting -