How to add Entity name to the river

Lovegin John
By Lovegin John

Hello,

I have a requirement, where I want to add a river item when ever someone comment on my photos.

So, if user A comment on photos "my Family" of user B, then I want the river show something like

"A has commented on photos my family of user B as 'hello my comment'"

How to achive this?