로그인 한 사용자 만이 작업을 수행 할 수 있습니다. 따라서 "Your_User_Id"는 항상 "me"이어야합니다. 앱 키도 전달하는 것이 좋지만 앱에 로그인 한 사용자의 oAuth 2.0 토큰을 사용하여 전화를 걸어야합니다. 기본적으로 당신이하지 않았다면, 당신은 GPPSignIn sharedInstance에 plusService를 사용하여 로그인 구현해야 할 것 https://developers.google.com/+/mobile/ios/people#retrieve_a_collection_of_people
: 당신은 여기에 모든 세부 사항을 볼 수 있습니다
GTLQueryPlus *query =
[GTLQueryPlus queryForPeopleListWithUserId:@"me"
collection:kGTLPlusCollectionVisible];
[[[GPPSignIn sharedInstance] plusService] executeQuery:query
completionHandler:^(GTLServiceTicket *ticket,
GTLPlusPeopleFeed *peopleFeed,
NSError *error) {
if (error) {
GTMLoggerError(@"Error: %@", error);
} else {
// Get an array of people from GTLPlusPeopleFeed
NSArray* peopleList = [peopleFeed.items retain];
}
}];
을 그 당신이 거기에주고있는 URL을 호출하고 있습니다.
내가 당신의 질문 http://stackoverflow.com/questions/10820536/get-google-user-friends response.It에 대한 – iKambad
감사가 한 살 post.May가 될이 링크를 참조 생각합니다 이제는 위의 사용 된 URL을 사용하여 서클을 가져올 수 있지만 위와 같은 금지 된 응답을받을 수 있도록 문서에 작성 되었기 때문에 허용되었습니다. –