title: Get facebook news feed where type is Video
body: <p>I want to fetch a user's news feed posts where the post type is video.</p>
  
  <p>I am using this (if you have a better way feel free to share):</p>
  
  <pre><code>&lt;script&gt;
  FB.api('/me/home/', {limit: 1000}, function(response)
  {
      response.data.forEach(function(object)
      {
          if (object.type == 'video')
          {
              console.log(object.message);
          }
      });
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>I'm not a experienced programmer and I need some tips about the right approach to do this efficiently.</p>
  
  <p>The use case is that a user connects to my website using a facebook account, then I fetch the user's news feed like I showed above.</p>
  
  <p>I want to store this info about the posts where the type is video in MongoDB, so here is my real question: to keep showing the oldest posts, I need to store the post's ID in my DB, right? So should I create a field called "fb_video_id" in the user info in the DB, or does this not work, or is it not the best way? (If you can show me some code examples, that is great.)</p>