I'm facing some issues with facebook plugin.
A few time ago, i used to use facebook:isSessionValid() to verify if is logged in, but now it doesn't work anymore.
The facebook V3 SDK is very different and i found a code snipet in java that support this question.
public boolean isLoggedIn() {
Session session = Session.getActiveSession();
if (session != null && session.isOpened()) {
return true;
} else {
return false;
}
}
There is already a properly solution in LUA for this issue?
thx in advance
Comments
What you can do is to set a variable, something like: