iPhone:如何像 iPhone 上的 Facebook 应用那样标记照片上的人物?
我正在构建一个原生 iPhone 应用程序,可以拍照,并用它做一些有趣的事情。我希望用户能够在生成的图片上标记他们的 Facebook 好友,类似于 Facebook 应用程序的功能。看起来官方 facebook ios-sdk https://github.com/facebook/facebook-ios- sdk 缺少此功能。
我想知道:是否有一些图书馆或一些建议可以帮助避免重新发明轮子?
I'm building a native iPhone app that takes a picture, does some funny stuff with it. I want the users to be able to tag their Facebook friends on the resulting picture, similar to what the Facebook app does. It seams that official facebook ios-sdk https://github.com/facebook/facebook-ios-sdk lacks this feature.
I wonder: is there some library or some advice that can help avoiding reinventing the wheel?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
简单的去这里:
http:// Developers.facebook.com/docs/reference/rest/photos.addtag/
它将在右侧为您构建一个照片标签 URL。您所要做的就是使用 NSURLConnection 发送 GET 请求,Apple 有一个有关如何发送 GET 和 POST 的示例:
这是 Apple 的示例
Simple go here:
http://developers.facebook.com/docs/reference/rest/photos.addtag/
and it will build a photo tag URL for you on the right hand side. All you have to do is send a GET request with NSURLConnection, Apple has an example on how to send GET's and POST's:
Here is Apple's example