Search code examples
iosfacebooktagging

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?


Solution

  • 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