I work on Google Chrome extension for facebook.
I have a button and if you click on it, a popup with latest active threads appears. I want to say to facebook server that no threads are ‘unseen’ afterwards. So that the messages jewel on Facebook main page will show no notifications.
Can I do this with Graph API? POST calls to graph.facebook.com/thread_id with unseen=0 don’t work.
Alternatives?
You do not have write access to the inbox. Only read access
read_mailbox. Sorry, but that’s the only permission that Facebook currently has available. See: https://developers.facebook.com/docs/reference/api/permissions/However, you can keep track of the inbox items on a remote server’s data store and have your plugin query that to know what’s been “seen”. So at least from your plugin’s perspective, things are showing up correctly.