0

連絡先 API バージョン 2 は非推奨であるため。連絡先 API バージョン 3 を使用しています。以下のコードのメソッドが非推奨であるかどうかを取得できません。そこで迷っています。ここに案内してください。

        ContactsService contactService = new ContactsService("Application Name");
        contactService.setAuthSubToken(custDetails.getGoogleCredentionals().getAccessToken());
        try {
            String url="https://www.google.com/m8/feeds/contacts/"+domain+"/full/"+contactId;
            entry = contactService.getEntry(new URL(url),ContactEntry.class);
        } catch (Exception e1) {
            log.warning("exception in create entry obj"+e1);
        }
4

0 に答える 0