我正在开发一个iphone 应用程序,我必须在其中集成vk.com俄罗斯社交网站。我已经集成了从 GithubiOS SDK
下载的 vk 。在下面的方法中,我传递了as但我对权限参数有点困惑。我已经搜索了很多网站,包括 vk 开发者网站,但无法找到解决方案作为权限参数传递的内容。my application id
app id
"[VKSession openSessionWithAppId:APP_ID permissions:PERMISSIONS handler:^(NSError *error)"
当我执行我的应用程序时,我收到如下错误:
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}