i just started using Facebook Connect for iPhone. I've been able to create a login/logout button, initiate and resume sessions, and update the Facebook status.
However one thing I can't figure out how to do is detect when I need to ask for extended permission (such as is required for updating user status). Once this is done once for my app, it seems like this is remembered on the server-side, and I no longer have to bug users with a dialog. If I do pop up the dialog when not needed, it shows briefly, then disappears, which has an annoying flashing effect.
So my question is: how can I detect that a user (session?) has already granted such permission?