How do I post to my fb page from code

Hi,

I am building wp<-> fb application.

In this site fb users registers to my site with single login, and after they play “real” game, the admin posts on there behalf the number of points they got.

Now,I need that in some cases ( e,g, player X got more then 100points)

the Admin will post automatically (on fb) “Player X got more then 50 points”.

With mentioning the name of player X on facebook.

The question is,

Is there a simple API of the plugin that I can use for that issue?

Thanks,

Koff