Facebook application problem?

you can see this: http://disavur.com/facebook
this is my code:

$user = $facebook->getUser();

if($user) {
    try {
       $statusUpdate = $facebook->api('/me/feed', 'post',
                 array('name'=>'My APP on Facebook','message'=> 'I am here working',
                 'privacy'=> array('value'=>'CUSTOM','friends'=>'SELF'),
                 'description'=>'testing my description',
     } catch (FacebookApiException $e) {
          echo "error";;

    echo "<a href='" . $facebook->getLoginUrl() . "'>login</a>";

This code returning “error”… Where is the error?

It’s not returning error for me…
what you might want to do though is var_dump($e) instead of just echoing “error”…

echo “error”;; line have double semicolens