A: 

I think this is what you're looking for.

Take the permissions upfront. And then publish to stream using Graph API rather than Javascript SDK. (this will not involve the user at all while publishing, and will happen on server side in your php code)

cdpnet
I'm already doing that - the first time user signs up - he is giving the app permissions to post to his wall - <fb:login-button perms="publish_stream,offline_access,email,user_about_me,user_location,user_website"></fb:login-button>But it still keeps coming up and the second issue I mentioned - I dont want the user to enter any comments
Gublooo
A: 

I could not figure out a way to do it using Javascript - so I used php instead


try 
{
   $statusUpdate = $facebook->api('/me/feed', 'post', array('message'=> 'example status message', 'cb' => ''));
} 
catch (FacebookApiException $e) 
{

}


Hope it helps someone

Gublooo
That's the way to go, if you have permission and don't want user to add a message.
cdpnet
The 'cb' parameter is ignored. The supported parameters are documented at the bottom here: http://developers.facebook.com/docs/reference/api/post.
daaku

related questions