We are working on a tutorial for developing your own apps (we swear). Attached is a 'status update' file which should show you how to ask and check for permissions. It's not installable right now, but if you know how to build a module, you simply need to call this file from your mod_MODULENAME.php file like below. There's no helper or other code required:
Please understand, this is not fully functioning or even thoroughly tested code!
A quick overview:
Line 16-20: Get the current user's name and status.
Line 46+: Show the html for the status module. It consists of a form field and submit button. Also, we check to see if the user has the permission "status update" set already, if not, we show FB's 'grant permission' button.
Don't hesitate to ask more questions. The intent from the outset for JFBConnect was to allow other developers to extend and add functionality by creating their own modules (such as this). This will be our 'example' of how to do it. If you do create something great, we'd love for you to offer it to others!
Sorry about that. This board doesn't allow attachments of PHP files (understandably). I renamed the extension to .txt, and this should work. Next time I'll try to read error messages better