Call/IMessage/Facetime Logs

I'm looking to integrate call / text / facetime history into my app while maintaining the necessary security for the end user. I only need date stamp and contact link or name of the person communicated with, no access to content of messages etc.

How would this be accomplished?

Call/IMessage/Facetime Logs
 
 
Q