4

When looking at the Chatter Feed some posts or comments have the addition by what mobile device this post/comment was issued from.

enter image description here

I would like to query that device information via apex, but can't find any hint when looking at the FeedItem API description, or any related child objects. The information must be somewhere (because Salesforce displays it ;) ), the question is can I access it, and if so, where?

I thought about correlating the CreatedDate with a users login history, but this only works a.) for the last 6 months and b.) is not very "safe" in case a user uses both mobile and desktop device at the same time.

Thanks!

2

It's available in the clientInfo field of the ConnectApi.​FeedItem and ConnectApi.Comment classes.

| improve this answer | |
  • Well, I have to admit, I hadn't thought about Chatter API! Thanks! – Nisse Knudsen Aug 22 '14 at 7:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.