Slawb
October 29, 2019, 5:06pm
1
Hi,
I’m trying to use FBInstant.ShareAsync from a game made with Unity.
My function is
ShareAsync: function (base64Picture, text) {
var img = Pointer_stringify(base64Picture);
FBInstant.shareAsync({
intent: 'REQUEST',
image: img,
text: Pointer_stringify(text),
data: { myReplayData: '...' }
}).then( function()
{
console.log("sharing is done");
})
.catch( function(err)
{
console.log('failed to share: ' + err.code + " :: " + err.message);
});
}
I can correctly see the image but no text appears, and I have three errors in the console repeating:
“POST https://www.facebook.com/react_composer/logging/ods/?event=bootload_start&attachment_type=MEDIA 404”.
I’ve tried also with static string for both text and image, but nothing change.
Any advice? Thanks in advance.
Same problem here! Any solution?
Slawb:
Hi,
I’m trying to use FBInstant.ShareAsync from a game made with Unity.
My function is
ShareAsync: function (base64Picture, text) {
var img = Pointer_stringify(base64Picture);
FBInstant.shareAsync({
intent: 'REQUEST',
image: img,
text: Pointer_stringify(text),
data: { myReplayData: '...' }
}).then( function()
{
console.log("sharing is done");
})
.catch( function(err)
{
console.log('failed to share: ' + err.code + " :: " + err.message);
});
}
I can correctly see the image but no text appears, and I have three errors in the console repeating:
“POST https://www.facebook.com/react_composer/logging/ods/?event=bootload_start&attachment_type=MEDIA 404”.
I’ve tried also with static string for both text and image, but nothing change.
Any advice? Thanks in advance.
jukka_j
November 27, 2019, 12:55pm
3
This reads like a bug in Facebook’s API (or in the use of that API). You might also try reaching out to Facebook developer forums if they might have suggestions, or if it’s a known bug there?