来自Google Gdata Contacts API的公共图片网址

时间:2013-02-28 12:40:49

标签: gdata-api

我正在尝试通过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上有个人资料的公开图片网址。

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的字段。

0 个答案:

没有答案
相关问题