В настоящее время я использую FBFriendPicker из API Facebook для iOS, чтобы получить имя выбранного друга. Как я могу одновременно получить идентификатор пользователя друга? Для имени используется приведенная ниже функция:
// Facebook integration
- (void)facebookViewControllerDoneWasPressed:(id)sender {
NSString *text;
// we pick up the users from the selection, and create a string that we use to update the text view
// at the bottom of the display; note that self.selection is a property inherited from our base class
for (id user in self.friendPickerController.selection) {
self.name.text = user.name;
}
[self dismissModalViewControllerAnimated:YES];
}
Подробнее здесь: https://stackoverflow.com/questions/120 ... ok-ios-api
Как использовать FBFriendPicker для получения идентификатора пользователя из Facebook iOS API ⇐ IOS
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Как получить имя пользователя из идентификатора пользователя в WordPress с помощью PHP
Anonymous » » в форуме Php - 0 Ответы
- 10 Просмотры
-
Последнее сообщение Anonymous
-