Hi, me again with facebook issue 
My facebook app works great, but when I open this built app again (for second or third time), every time I experience some errors.
So, I use this code for login and for name and link request:
local function listener( event ) if ( "session" == event.type ) then if ( "login" == event.phase ) then facebook.request( "me" ) end elseif ( "request" == event.type ) then if (event.isError) then local alert = native.showAlert( "...", "...", { "OK" }) end if (not event.isError) then local response = json.decode(event.response) fullName = response.name link = response.link end end end facebook.login( "XXXXXXXXXX", listener, {"publish\_stream"} )
In other function I have some text objects that show response name and response link.
When I run this app for a first time, everything works well and I get name and link without any problems.
If I try to run this app for a second time, I get nothing. I tried to fix this using facebook.logout() after getting response name and response link but without any success.
I need to get new response every time user start this app, not just for a first time.
Please, I need some ideas about it. Thanks.