2017-05-11 92 views
0

我已經按照https://developers.google.com/google-apps/contacts/v3/#retrieving_a_single_contact_group的說明進行了組數據。從php中取得聯繫人的聯繫方式在php中

但是,無論何時我試圖使用https://www.google.com/m8/feeds/groups/default/full獲取組明智的數據,我只在給定數組中獲得組ID,而不是其他數據(如姓名,手機號)。下面更好地瞭解

[0] => Array 
(
    [gd$etag] => "YDwreyM." 
    [id] => Array 
     (
      [$t] => http://www.google.com/m8/feeds/groups/rahmanarafat13%40gmail.com/base/6 
     ) 

    [updated] => Array 
     (
      [$t] => 1970-01-01T00:00:00.000Z 
     ) 

    [category] => Array 
     (
      [0] => Array 
       (
        [scheme] => http://schemas.google.com/g/2005#kind 
        [term] => http://schemas.google.com/contact/2008#group 
       ) 

     ) 

    [title] => Array 
     (
      [$t] => System Group: My Contacts 
     ) 

    [content] => Array 
     (
      [$t] => System Group: My Contacts 
     ) 

    [link] => Array 
     (
      [0] => Array 
       (
        [rel] => self 
        [type] => application/atom+xml 
        [href] => https://www.google.com/m8/feeds/groups/rahmanarafat13%40gmail.com/full/6?v=3.0 
       ) 

     ) 

    [gContact$systemGroup] => Array 
     (
      [id] => Contacts 
     ) 

) 

不要讓其他的值如[ 'GD $名稱']或[ 'GD $ phoneNumbe']

一個給定的數組中給出。

現在該怎麼辦?

如果有任何疑問,請在留言問

回答

相關問題