2

Google GData Contacts API を使用して関連ユーザーを表示しようとしています。

URL feedUrl = new URL("https://www.google.com/m8/feeds/contacts/default/full");
Query q = new Query(feedUrl);
q.setMaxResults(max);
q.setUpdatedMin(q.getUpdatedMin());

ContactFeed feed = client.query(q, ContactFeed.class);

for(ContactEntry item : feed.getEntries()){
  [...]
}           

Google にプロフィール用の公開画像 URL があることは知っています。

https://www.google.com/s2/photos/profile/{user_id}
https://plus.google.com/s2/photos/profile/{user_id}
https://profiles.google.com/s2/photos/profile/{user_id}

ただし、ユーザーの連絡先を取得すると、その user_id を参照できるフィールドがないように見えます。

4

0 に答える 0