We use Simple Facebook Connect for that.

There is also Simple Twitter Connect.