plugin integration


I wrote my custom plugin for wordpress and I have 2 questions:

1. I want to check the current user has active facebook with his account.

2. I want let user to post some thing in his facebook wall without makeing a post or page (custom message).

Is there any api in your facebook plugin that give me such a solutions?