Facebook - FacebookErrDomain error 190

You must Login before you can answer or comment on any questions.

I'm trying to upload a photo to facebook but i get the following ErrorDomain error 190

Ti.Facebook.appid = 'censored';
    Ti.Facebook.permissions = ['publish_stream'];
    Ti.Facebook.authorize();
 
    // Now post the photo after you've confirmed that authorize() succeeded
 
    var data = {
            caption: 'Test',
            picture: imgScrollView.views[imgScrollView.currentPage].currentImage.toImage()
    };
 
Ti.Facebook.request('photos.upload', data, function(e){
if (e.success) {
        alert("Success!  From FB: " + e.result);
        } else {
            if (e.error) {
                alert("Error - " + e.error);
                } else {
                    alert("Unkown result");
                }
        }
});

Your Answer

Think you can help? Login to answer this question!