AndrewShmig / Vkontakte-iOS-SDK-LV

[iOS] Powerful & flexible Vkontakte iOS SDK Latest Version
79 stars 23 forks source link

friendsGet w/ token #25

Closed masterrr closed 11 years ago

masterrr commented 11 years ago

Hello guys, it would be awesome if you made friendsGet method is also available to call w/ token = YES in next milestone;

For instance, contacts fields are not going to be returned because of always “show only to friends” privacy option enabled.

AndrewShmig commented 11 years ago

Hm... interesting remark. Thanks, I'll check what can be done there.

AndrewShmig commented 11 years ago

You can do this way:

[[VKUser currentUser] friendsGet:@{
   @"access_token": [VKUser currentUser].accessToken.token,
   @"uids": @"1,2,3,4",
   @"fields": @"nick,online,photo_100"
}];

And its better not to add another method friendsGet with accessToken. Do you have better suggestions?