Active
Project:
Drupal for Facebook
Version:
6.x-3.x-dev
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Aug 2010 at 00:07 UTC
Updated:
3 Jan 2011 at 20:17 UTC
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
Comment #1
escore commentedChanging 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.
Comment #2
escore commentedComment #3
merilainen commentedWhere 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.
Comment #4
Dave Cohen commentedMan, if you can find decent documentation for facebook's platform, please let me know!