Post Non-Image files with Social Plugin?

Hey Everyone,

I was just wondering if I could use the social plugin on android to post other files other then images? So far .txt files and images work with the below code.

local popupListener = {} function popupListener:popup( event ) print( "(name, type, activity, action):", event.name, event.type, tostring(event.activity), tostring(event.action) ) end native.showPopup( "social", { listener = popupListener, image = { { filename="AllData.jpeg", baseDir=system.DocumentsDirectory } } }) end

Is there a way I could post like .db files using the social plugin? I would imagine it would have to do with replacing image with something?

Thanks!

-B

May I ask the use case for this?  Most social networks will want to show an image if you’re sending them an image. If you want a download, upload it to a server and share a URL/Link.

Rob

May I ask the use case for this?  Most social networks will want to show an image if you’re sending them an image. If you want a download, upload it to a server and share a URL/Link.

Rob