Currently when your code alters facebook_status_save_status you are mergging options with
//Merge the default options.
$alerts += array(
But then call save_status with just part of the array in last parametar $alerts['facebook_status']
//Save status in FBSS.
$status = facebook_status_save_status($recipient, $type, $status_text, $sender, $alerts['facebook_status']);
so then you are missing whole form_state (Array, 9 elements) and maybe this is by purpose but then again some further extension is not capable as you remove some valuable info fo further alters. So I recommend to put
//Save status in FBSS.
$status = facebook_status_save_status($recipient, $type, $status_text, $sender, $alerts);
Comments
Comment #1
icecreamyou commentedFor background, FBSS passes the form state into the $options parameter of facebook_status_save_status() so that implementations of hook_facebook_status_save() have access to elements added to the status update form via hook_form_alter() implementations.
Committed fix to dev.
Comment #2.0
(not verified) commentedmore inf.