简体   繁体   中英

iPhone: how to tag people on photo as facebook app for iPhone does?

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM