Trying to tag a photo on upload…
so basing off of jbeebe’s excellent tutorial:
local function onLoginSuccess()
-- Upload 'iheartcorona.jpg' to current user's account
local attachment = {
message = "Just a description of the photo.",
-- Trying to add message tags here you would put the id of the user you want to tag here
message\_tags = { id="xxxxx", name="MY NAME", type="user" },
source = { baseDir=system.DocumentsDirectory, filename="iheartcorona.jpg", type="image" }
}
facebook.request( "me/photos", "POST", attachment )
end
I cant get the tags to take… I know the syntax is off but I cant get a bead on it from FB’s documentation.
https://developers.facebook.com/docs/reference/api/post/
Has anyone done this already? If so can you help a comrade out?
Thanks,
Tony [import]uid: 107466 topic_id: 23120 reply_id: 323120[/import]