I’m using the Social Plugin to share a image on Facebook.
Now this image is different everytime and I don’t want to save it locally for nothing.
I’m using this syntax now for saving the image:
display.save( fbGroup, { filename="temp.jpg", baseDir=system.TemporaryDirectory, isFullResolution=true } )
and then this for the facebook share with Social Plugin:
local options = { service = "facebook", message = "your msg", listener = eventListener, image = { { filename = "temp.jpg", baseDir = system.TemporaryDirectory }, }, url = "http://yoururl.com" }
The question is, Is there a way to achieve the same without saving the file but by using directly the fbGroup (which is a container) instead of a jpg in the Social Plugin?