Facebook Share embed score in image - PhoneGap

150 views Asked by At

Some games offer a share feature with the score embedded in an image, like seen below from the game merged:

enter image description here enter image description here

I can't find a reasonable way to create the image with PhoneGap. Should I create a canvas and then embed the score and then convert it into an image? I already have the share function down using the SocialShare plugin, I just need to create the image.

1

There are 1 answers

0
Eddy Verbruggen On

I think you answered your own question. Perhaps you can find some cloud service that can merge the images for you, otherwise use something like https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL