Social media like and realtime comments in ionic

i m developping social media .i want to see realtime comments and likes at realtime.when i click like i wanna see new likeCount .how i can do it and how can i do with? ionic . io or gcm ? can i do it with gcm