FB api文档仅使用直接URL方法显示4SQ附件:http://developers.facebook.com/docs/opengraph/guides/tagging/#placeobjects
但iOS SDK说明并未显示如何获取4SQ URL,并将其与FB OpenGraph对象相关联.这可能吗?
我尝试创建一个FBGraPHPlace,将’ID’指定为4SQ URL,然后将该GraPHPlace附加到OG对象,但FB忽略它.
解决方法 删除条件,你应该能够做你想要的//if (self.selectedplace) { // Facebook SDK * pro-tip * // We don't use the action.place Syntax here because,unfortunately,setPlace: // and a few other selectors may be flagged as reserved selectors by Apple's App Store // valIDation tools. While this doesn't necessarily block App Store approval,it // Could slow down the approval process. Falling back to the setobject:forKey: // selector is a useful technique to avoID such naming conflicts. [action setobject:@"https://foursquare.com/v/computer-history-museum/4abd2857f964a520c98820e3" forKey:@"place"]; //}总结
以上是内存溢出为你收集整理的使用FB iOS SDK标记Foursquare的地方全部内容,希望文章能够帮你解决使用FB iOS SDK标记Foursquare的地方所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)