alzander wrote: Ahh.. we don't have any built-in calls for that. You'd need to query the database directly to get that information. It should be a pretty simple query on the #__jfbconnect_opengraph_activity table and check how many actions are published with an action_id of 'xx'.
If you need more help doing that, let me know, but the above should hopefully get you started.
Thanks,
Alex
$db = JFactory::getDbo();
$query = $db->getQuery(true);
$query->select("COUNT(*)")
->from($db->qn("#__opengraph_activity"))
->where($db->qn("action_id").'=XX')
->where($db->qn("status").'=1');
$db->setQuery($query);
$count = $db->loadResult();Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
