📅  最后修改于: 2022-03-11 14:59:49.244000             🧑  作者: Mango
GoogleCredential credential = new GoogleCredential().setAccessToken(accessToken);Plus plus = new Plus.builder(new NetHttpTransport(), GsonFactory.getDefaultInstance(), credential) .setApplicationName("Google-PlusSample/1.0") .build();