Contacts API を使用して、ドメイン内のすべての連絡先のリストを取得し、ユーザーに提案を提供しています。
「https://www.google.com/m8/feeds/contacts/example.com/full」を URL として使用しています。「例に属するエントリをリクエストできるのは管理者のみです」というエラーが表示されました。
API を使用してドメインの連絡先のリストを取得する方法 ?. この URL " https://www.google.com/contacts/?hl=en&tab=wC#contacts/group/27/Directory "を使用して、ブラウザーから連絡先にアクセスできます。
助けてください......!!!
EDIT 1(Jayの参照あり):
私のコードは次のとおりです:
service.setHeader("GData-Version", "1.0");
ContactFeed contactEntry= service.getFeed(new URL("https://www.google.com/m8/feeds/gal/example.com/full?alt=json&q=mail@example.com"), ContactFeed.class);