Facebook Wall Posts from Joomla
If you have another component that you want to be able to post status updates, new comments/reviews, whatever to a user's profile, the below code should do it. It does not ask for a user's permission to do so, but does require the granted permission of "Stream Publish". Stream publish is requested when a user first registers using their FB profile. If they do not grant it then, or later, Facebook will ignore the request to update the user's status:
require_once JPATH_ROOT.DS.'components'.DS.'com_jfbconnect'.DS.'libraries'.DS.'facebook.php';
$jfbcLibrary = JFBConnectFacebookLibrary::getInstance();
$post['message'] = 'is doing something';
$post['link'] = 'http://www.sourcecoast.com/jfbconnect';
if ($jfbcLibrary->getUserId()) // Check if there is a Facebook user logged in
$jfbcLibrary->setFacebookMessage($post);