如果我尝试发布链接/消息/照片它按预期工作但是当试图获取位置时它总是失败并给我** *** 作无法完成. (facebookErrDomain错误10000.)**
//Following statement is using permissionsNSArray * permissions = [NSArray arrayWithObjects:@"publish_stream",@"user_checkins",@"frIEnds_checkins",@"publish_checkins",nil];[facebook authorize:FB_APP_ID permissions:permissions delegate:_delegate]; Nsstring *centerString = [Nsstring stringWithFormat: @"%f,%f",37.76,-122.427]; Nsstring *graPHPath = @"search"; NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: @"coffee",@"q",@"place",@"type",centerString,@"center",@"1000",@"distance",// In Meters (1000m = 0.62mi) nil];[facebook requestWithGraPHPath:_path andParams:_params andhttpMethod:@"POST" andDelegate:_delegate];解决方法 没关系.从Facebook下载来自github的图形API的最新样本 HackBook,它包含相同的示例代码. 总结
以上是内存溢出为你收集整理的iphone – 适用于iOS搜索的Facebook Graph API全部内容,希望文章能够帮你解决iphone – 适用于iOS搜索的Facebook Graph API所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)