How to send push notification from one user to another in Ionic?

I want to send push notification from one user to another in my Ionic application. Suppose, User1 likes a pic of User2 then User2 will receive "User1 liked your pic" notification. How can I achieve this using FCM, OneSignal or other?