title: Delete data after a period of time Using Firebase
body: <p>I am trying to implement a method where a post(s) will be deleted after a given time frame. In my case 10 weeks. </p>
  
  <p>How would I go about implementing a feature? I've read that Firebase does not support server-sided scripting. So how could I go about it? When users uploads a post, I do have a <code>timestamp</code> node attached. Is it a case of comparing the post's timestamp to a timestamp of 10 weeks? And then removing the post? Or is there another, more efficient way to achieve such a thing?</p>
  
  <p>If I was to implement the aforementioned method, this would mean I'd require an observer/method to first analyse ALL posts, then do the comparison and then execute the second phase, depending on the timestamp - <code>removeValue</code> or simply <code>return</code>. And I wouldn't I need to use <code>NotificatonCenter</code> so I can call this code throughout my whole app? </p>
  
  <p>Any input/advice would be appreciated. </p>