title: Real-time Push notifications with Firebase
body: <p>I recently signed up to use Firebase and I can't seem to figure out how to push notifications to specific users.</p>
  
  <p>For my use, I guess you can think of it like Facebook. Whenever a user does something, say posts an interesting article for their friends to read, I want all of the user's friends to be notified of that event. So, using Firebase, how would one make it possible to notify only their friends and not everyone? My database stores the conenctions.</p>
  
  <p>Perhaps there is a way to have each user be a node in the Firebase database and each time a notification is sent, The user will constantly check his node, and if something appears, pulls it and then delete it.</p>
  
  <p>The examples on Firebase seems to be sort of basic. I wish there was a user-specific push notification example. </p>