Hi,
I am working on Facebook interface and having problem.
When i am posting some thing on Facebook it’s working for me. But in another page there is facebook logout button in my app and when I click on that, the facebook logout is not working.
Here is my logout code which I tried.
[lua]
facebook.logout()
[/lua]
and
[lua]
local function listener( event )
if ( “session” == event.type ) then
– upon successful login, immediately logout
if ( “login” == event.phase ) then
facebook.logout( )
end
end
end
– first argument is the app id that you get from Facebook–
facebook.login( “AppId”, listener )
[/lua]
Any help will be appreciated.
Thanks, [import]uid: 75428 topic_id: 36784 reply_id: 336784[/import]