I've just started using Contruct2 and I really love it. I'm creating a simple drag-and-drop game where users can create a composition out of a number of objects.
When a user has finished, I want them to be able to take a snapshot of the game window then post the resulting image to their Facebook wall. I can capture the image with the Canvas Snapshot event and even open it in another browser window but short of instructing the user to then manually download then re-upload the image, I'm stuck.
I have followed the Facebook Tutorial (which isn't quite what I want to do) but it did get me 90% there. I have registered my App at developers.facebook.com and I'm now able to use the Facebook object to open a 'share' dialogue, but then the final hurdle is the Image URL. When I try to pass on "CanvasSnapshot" as the image link URL I get an error from Facebook saying:
API Error Code: 100
API Error Description: Invalid parameter
Error Message: link URL is not properly formatted
Which of course I understand, as obviously "CanvasSnapshot" means nothing to Facebook. Can anyone give me any tips in accomplishing what I'm trying to do? Below is a screengrab of my current Event Sheet.