iPhone:如何像 iPhone 上的 Facebook 应用那样标记照片上的人物?

发布于 2024-10-19 08:55:04 字数 298 浏览 4 评论 0原文

我正在构建一个原生 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

安穩 2024-10-26 08:55:04

简单的去这里:
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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文