Is it possible to get the item ID from notification objects?

I’m trying to allow users to take action on notifications on the fly. Thusly, I need the ID for, say, the friend request but all I have is the notification ID. Can I get the friend request ID from the notification ID?

I swear, probably 80% of my posts result in me solving my own damn problem.

Inside your notification loop, if you can not see the item_id when using print_r on the notification object (returned by bp_core_get_notifications_for_user($uid, ‘object’) ) then call this function on the notification ID: bp_notifications_get_notification( $notif->id )

The object this returns contains the item_id (print_r it to see what’s up).