You need to sign in to do that
Don't have an account?
How to get the unread chatter message and send a notification to device.
Hi friends:
About this I have a scenerio: if we are not log in to our application or the application is not active, someone sends me a message. The next time, I success to login or the application is active, the message should be displayed as a push notification on the device.
So far I can get message by using ChatterMessage Object.
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_chattermessage.htm
But this object do not have a field to know whether this message has been read. And if we want to use SentDate to judge it, We also donot know when the user has offline.
How to resolve this, do anybody can help about this.
Thanks.
The unread count is just after the "Messages" below the user photo.
But this kind of info. cannot be accessed by API.