title: How to realize users feedback with FireBase?
body: <p>I have an application where user can like photos, comment etc. Functionality like Instagram has.</p>
  
  <p>I want to realize users !<strong><em>feedback</em></strong>!, where user can see information, who liked his photos, who started to follow and etc. I don't know actually how should I organize structure of my database in this situation. </p>
  
  <p><em>My user node snapshot:</em></p>
  
  <p><a href="https://i.stack.imgur.com/lV3I4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lV3I4.png" alt="enter image description here"></a></p>
  
  <p><em>My posts node snapshot:</em></p>
  
  <p><a href="https://i.stack.imgur.com/u3aci.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u3aci.png" alt="enter image description here"></a></p>
  
  <p>As I can see, I have next option - I should save all actions, which are linked to user, to his node in internal node <code>Feedback</code>. But how can I keep sync this? For example, someone can follow my user, I will add it to this node, user will unfollow, but the record still remains. I think, that it is wrong way.</p>
  
  <p>I have no other idea actually and I can't find anything about that.</p>
  
  <p>Any suggestions and solutions are much appreciated.</p>
  
  <p><strong>EDIT: I need to understand, how to realize this tab of instagram-like apps:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/rechv.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rechv.jpg" alt="enter image description here"></a></p>
  
  <p><strong>How to retrieve data for it from nodes?</strong></p>
  
  <p><strong>UPD: DB Architecture in my examples is bad (old question). Be carefull (10.11.2017).</strong></p>