I managed to make authetntication and i get back the token, but I dont know how to retrieve contacts list, because you need to add request header. If anyone managed to do this with PHP, please post it here. Thank you.

Re: Authenticating and retrieving contacts with PHP

YuanYuan Yu - MSFT

Hi, there, I am no expert in PHP, but I think this post helps: PostID=1725881&SiteID=1