title: Mark a notification as read in Facebook graph API
body: <p>I am willing to mark a user's notification as read using the facebook graph api, but I am now starting to wonder if that is possible at all. Here is what I am trying now, which is a solution I found in <a href="https://stackoverflow.com/questions/8263262/how-mark-a-facebook-notification-as-read-via-facebook-api">this</a> question on stackoverflow.</p>
  
  <pre><code>$http({method: 'POST', url: 'https://graph.facebook.com/' + item.id + '?unread=0'}).
              success(function(data, status, headers, config) {
                // this callback will be called asynchronously
                // when the response is available
                deferred.resolve(status);
              }).
              error(function(data, status, headers, config) {
                // called asynchronously if an error occurs
                // or server returns response with an error status.
              });
  </code></pre>
  
  <p>Of course, <code>item.id</code> is the id of the notification.</p>
  
  <p>I am using angular for my http requests, but I dont mind other methods too, just angular's is the easiest for me. I am also looking forward to hear any ideas on how to mark notifications as read, I don't prefer any way, just want it to happen somehow. </p>