How to tag users in Facebook albums

With the recent joyous introduction of functional Facebook album posting, I’d like to tag photos as well. Facebook returns two id’s for the posting:

event.response = "{"id":"###","post\_id":"###\_###"}",

I have read very different things on (non-Corona-specific) forums about how to tag photos:

  • You can tag several users with an array.
  • You can only tag one user at a time, so you must iterate over the array.
  • You can’t tag photos at the time of posting. You must first post, and then tag.

Does Corona support tagging at all? Please supply a code snippet that has been proven to work.

I tried the following, but then it was back to good, old “com.facebook.sdk error 5” again.

local attachment = {   message = "Hello, World!",   source = {baseDir=system.ResourceDirectory, filename="photo.jpg", type="image"},   tags = {       {tag\_uid=###, x=25, y=25},       {tag\_uid=###, x=75, y=75},   }, },

Let me know if you want me to file a bug report.