Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to mark the message thread with 'unseen=0'?

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?

like image 232
vian Avatar asked Dec 25 '11 12:12

vian


1 Answers

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.

like image 173
DMCS Avatar answered Oct 07 '22 00:10

DMCS