I read the README.txt from start to finish and found that fb_stream_publish_dialog no longer seems to pass the 'user_message' argument correctly to the popup dialog. A page node (PHP input format) with the following code doesn't fill the popup like it used to:

<?php 
$user_message = 'this is a test.';
fb_stream_publish_dialog(array('user_message' => $user_message));
?>

Fresh Drupal + fb-6.x-3.x-dev + devel setup installed today, no other (non-core) modules installed.

Comments

escore’s picture

Component: Code » Documentation

Changing this to a documentation issue. It seems that at least FB.ui now uses 'message' rather than 'user_message'. Anyone using the old parameter name should check their code, though.

escore’s picture

Title: fb_stream_publish_dialog not taking argument » fb_stream_publish_dialog not using "user_message" as parameter name
merilainen’s picture

Where can you find the correct information?
http://developers.facebook.com/docs/fbjs/streamPublish still mentions "user_message" key, which doesn't work. Key "user_message_prompt" doesn't work either.

Dave Cohen’s picture

Man, if you can find decent documentation for facebook's platform, please let me know!