Adding "likes" to objects

Does anyone know how to add the "likes" plugin to an object view?  for instance I would like to add the "likes" feature to "the wire" object so I add

echo elgg_view('input/like', array('entity' => $vars['entity']));

to mod->thewire->views->default->object->thewire.php and nothing shows up.  Im using 1.7.10

  • Use get_river_items() and pass the entity's guid as either the subject or object (probably the subject) and then use the returned river item with the 3rd party plugin's functions to count the likes.