FacebookforDrupal Publish to stream isnt working?
Sorry, there is no hook_nodeapi() for D7. In D7, there are seperate hooks for create, update, view and delete operations. You could use this Link as a reference. 
You could insert your dpm("test"); inside hook_view() to test it.