Trying to integrate Rate-Widget (Rate-Module) into Status-Block (Statuses/Facebook Style Status)
A couple problems here.

I assume you are using Drupal 7, and therefor this module:
https://drupal.org/project/statuses

Which is the successor of facebook_status module for D6.

Your hook is for the D6 module, and does nothing for the D7 module.

I couldn't find the replacement hook in the new D7 version:
http://drupalcode.org/project/statuses.git/blob/bc7e520:/api.php

The other problem, is that 'statuses' are their own 'entity' - for lack of a better word.  They are not actually even 'entities' in the Drupal terminology.  Just some entries in it's own DB table.

The reason this is a problem, is your code is looking to load a node from path when on a path like (/statuses/5), but a 'status' is not a node.

As far as a solution, you'll have to decide a new road to go down, but at least this helps you understand the situation.