I have solved the problem using link. Due to some reason it wasn't working before, but after some changes it work. If anybody needs the code, you can contact me on akshay.sarkar.dbit@gmail.com
facebook logout php v.3.2.2
質問
I am working on the Facebok PHP SDK v.3.2.2.
I am facing issues in logout, when I click on the link it goes to facebook home page.
SDK Code:
$logoutUrl = $facebook->getLogoutUrl(array('next' => 'http://[xxx.xxx.xxx.xx]/facebook/examples/logout.php'));
In HTML Code, onclick of button it call the logouturl.
I tried multiple ways of look in Stack Overflow and Google but could not found any solution.
Need Help !!
解決 2
他のヒント
try this;
$logoutUrl = $facebook->getLogoutUrl(array('redirect' => 'http://[xxx.xxx.xxx.xx]/facebook/examples/logout.php'));
所属していません StackOverflow