使用ASP.NET中的Live Connect API检索用户的联系人

时间:2016-04-20 08:33:05

标签: c# wpf

我想获得用户联系人的完整信息。我使用的是带有范围的Live sdk:

  

wl.basic%20wl.contacts_emails%20wl.contacts_phone_numbers

但我只获得以下JSON。

     "id": "contact.15e8e034000000000000000000000000", 
     "first_name": "ngo", 
     "last_name": "dat", 
     "name": "ngo dat", 
     "is_friend": false, 
     "is_favorite": false, 
     "user_id": null, 
     "email_hashes": [
        "28b54848ca9abc28bcad50cce0a0bc496fd36c3a8b87827d5f19d684c97b03d9", 
        "f0751fc86d4fd4b946363cd691f6c2269e641337de7b27df92e368b0c18ddb8e", 
        "60e52789536e7fdc543ba6781b5b804b54a0537ecb9375db706a724668734c77"
     ], 
     "updated_time": "2016-04-19T04:49:31+0000", 
     "emails": {
        "preferred": "npdat_personal@tma.com.vn", 
        "account": null, 
        "personal": "npdat_personal@gmail.com", 
        "business": "npdat_work@gmail.com", 
        "other": "npdat_other@gmail.com"
     }, 
     "phones": {
        "personal": null, 
        "business": null, 
        "mobile": null
     }

我想访问中间名和传真属性,但无法在返回JSON中的任何位置找到它。

请告诉我需要哪种GET调用方法来检索完整信息?

0 个答案:

没有答案