Hi Everybody,
I’m hoping to tag a photo on Facebook from within my app programmatically, using Facebook.request - I’m able to gather the photo’s ID (from what I can tell, we cannot tag photos until AFTER we’ve uploaded them), I’m able to gather the FB user IDs for the people I want to tag. I should be able to do this, but I’m having a hard time getting the syntax just right.
I’m pretty sure that the call should look something like this (this is obviously just a snippet, not fully-functioning):
local photoID = 0 --PHOTO'S FACEBOOK ID# local friendID = 0 --FRIEND'S FACEBOOD ID# facebook.request( photoID.."/tags", "POST", {{tag\_uid = friendID}})
Keep in mind that the above code does not work, but it should be close to correct, based on the Graph API documentation found here: https://developers.facebook.com/docs/graph-api/reference/photo/tags/
Has anybody successfully tagged photos from within their Corona app? Would you mind sharing if you have? Anybody out there better at translating Graph API documentation into Corona/Lua code than I am? Would love to hear from some of you.
Thanks!
-Jason Schroeder