Hi,
I need to set the baseDir in the code below to the path to my pictures or another location where i can put pictures. I tried searching but cannot figure this out. Does anyone know what I should put for that folder? How can I find out what that paths are for all locations?
Thanks!
-- Example of how to upload a photo
-- (NOTE: available starting in daily build 2011.709)
local attachment = {
message = "Corona Icon file",
source = {
baseDir=system.DocumentsDirectory,
filename="coronaIcon.png",
type="image"
},
}
facebook.request( "me/photos", "POST", attachment )
[import]uid: 184193 topic_id: 32567 reply_id: 332567[/import]
[import]uid: 52491 topic_id: 32567 reply_id: 129582[/import]