i need to add the facebook share button to my facebook instance game.
when i used folowing code
local json = {“intent” :“SHARE”,“image”:"",“text”:“message”}
fbinstant.share(json,function(self, success)
end)
but it requires 64based encode image string. After using an online converter I got a 64based string.but defold engine did not allow to paste that string.i used 745 kb image to create encoded string
ARE THERE ANY SUGGESTIONS or library i can use to create 64 based encode string form image
This is the report
Expected behaviour
Actual behaviour
Steps to reproduce
Build time | 2019-01-21T16:41:39.690364 |
Defold channel | editor-alpha |
Defold editor sha | 58f9a169ac6654b60c56bd013eb2765f4834fa16 |
Defold engine sha | 9f376d88408bad9088a4187d4f874ae4767a0185 |
Defold version | 1.2.145 |
GPU | Intel Iris OpenGL Engine |
GPU Driver | 2.1 INTEL-10.32.48 |
Java version | 1.8.0_102-b14 |
OS arch | x86_64 |
OS name | Mac OS X |
OS version | 10.13.4 |