Hi guys !
I made a websites which needs the user to login to Facebook.
It uses the facebook API to check if the user is logged or not; and the API opens a popup if he is not logged.
import com.facebook.graph.Facebook;
import com.facebook.graph.data.FacebookSession;
import com.facebook.graph.net.FacebookRequest;
...
Facebook.init(APP_ID, FBDidInit);
....
Facebook.login(FBfinishedLogin, {perms:"publish_stream,user_location"});
The problem is that with some of the browsers (eg. Safari); the popup is blocked.
It is the API and not my code which launches the popup so I have no control on it.
Any idea of workaround ?
Thanks !