Has anyone managed to figure out how to share to Facebook using javascript. I have this code, it works for others but not for facebook
tizen.filesystem.resolve("images", function(images) {
var imagePath = images.resolve(imageFileSource);
var appControlData = [new tizen.ApplicationControlData("http://tizen.org/appcontrol/data/path", [imagePath.toURI()])];
var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/share", imagePath.toURI(),
"image/*", null, appControlData);
tizen.application.launchAppControl(appControl, null,
function(){
console.log("launch appControl succeeded");
},
function(e){
console.log("No Sharer", "You're phone doesn't seems to have a default image sharer");
},
null);
});
I tried ApplicationControlData(“image”, [..]) as well removing appControlData. But I cant managed to make it work for facebook only and they wont pass my approve for that!!!
Share not working in FB but working in others
Has anyone managed to figure out how to share to Facebook using javascript. I have this code, it works for others but not for facebook
I tried ApplicationControlData(“image”, [..]) as well removing appControlData. But I cant managed to make it work for facebook only and they wont pass my approve for that!!!
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio