I am working on a iphone application where i have to integrate vk.com russian social networking site. I have integrated the vk iOS SDK
s downloaded from Github. In below method I passed the my application id
as app id
but I’m a bit confused about the permission parameter. I have searched through lot of sites including the vk developer site but was unable to find solution what to pass as permission parameter.
"[VKSession openSessionWithAppId:APP_ID permissions:PERMISSIONS handler:^(NSError *error)"
While i am executing my app i am getting the Error as follows:
Error Domain=NSURLErrorDomain
Code=-999 "The operation couldn’t be completed. (NSURLErrorDomain error -999.)"
UserInfo=0x6e7d980 {NSErrorFailingURLKey=https://oauth.vk.com/authorize?client_id=4069809&scope=friends&redirect_uri=https://oauth.vk.com/blank.html&display=touch&response_type=token, NSErrorFailingURLStringKey=https://oauth.vk.com/authorize?client_id=4069809&scope=friends&redirect_uri=https://oauth.vk.com/blank.html&display=touch&response_type=token}
In the permissions user have to pass the details he want to use the login users like @"EmailId,,FriendList,Profile Details".