Currently there is not way in Rules for a fbss_comment event to know anything about the status it's a part of. It's a simple matter of adding

'status' => array('type' => 'facebook_status', 'label' => t('The status'))

to the arguments array of every event defined in hook_rules_event_info(), and loading the status in hook_fbss_comments_after_save() and hook_fbss_comments_delete() via

$status = facebook_status_load($comment->sid);

and passing it to rules_invoke_event().

Comments

icecreamyou’s picture

Category: feature » support
Status: Active » Fixed

Just use the "Load a status" action in Rules.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

archard’s picture

The only problem with that method is that it does not allow for the status to be used as a condition.

icecreamyou’s picture

I'm not sure exactly how it works, but it does seem to let you use loaded variables in conditions if you load them before you execute other kinds of actions.