Cannot post images on Facebook anymore

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

Good morning,

2 days ago, my app became unable to upload images on Facebook. I can still change a status on the wall but uploading pictures is not working anymore.

I am also unable to upload pictures on Facebook using the Kitchen Sink example as well, they both stopped at the same time.

I am wondering if anyone else is having issues with that ? Please note the the same app was uploading pictures just fine and suddenly stopped working for no apparent reasons without any code change.

Titanium Studio, SDK 1.6.3 (tried with 1.7.0 and it is not working either).

Code i am using:

Titanium.Facebook.appid = "myappid...";
Titanium.Facebook.permissions = ['publish_stream'];
 
Titanium.Facebook.authorize();
 
var data: {
    message: "a message",
    picture: mypictureobject
};
 
Titanium.Facebook.requestWithGraphPath('me/photos', data, 'POST', showRequestResult);
.
.
.
Thanks, Sylvain

— asked 3 years ago by Sylvain Simard
1 Comment
  • Found the reason behind this but still unable to post with the same Facebook accounts.

    Got this email from Facebook: "Your app xxxxxx (ID #xxxx) has been disabled because our automated systems detected that your app is receiving negative user feedback.".

    The 2 tests accounts we were using to upload pictures are now broken for ALL Titanium built apps. I created another app with a different ID and also Kitchen Sink cannot upload pictures to the Facebook accounts that had uploaded pictures using our app before it got disabled (not sure why it got disabled in the first place).

    So i can post with another Facebook account using another app ID but still cant post anything in the other accounts... So they are now broken for all Titanium related apps.

    — commented 3 years ago by Sylvain Simard

1 Answer

Hi!

I'm building an app which makes something similar (upload a photo to facebook). I'm trying to upload it from the "Titanium.Filesystem.applicationDataDirectory", but it doesn't seem to work... although i can publish on my wall, i can't upload photos...

Any idea why?

the code that i'm using is: inline code

var tmp2 = win.ima;//i get the name of the file
 
var f = Ti.Filesystem.getFile(Titanium.Filesystem.applicationDataDirectory,tmp2);   //getting the file
 
var blob = f.read(); //read the image
 
var data = {
    message: "TEST TEXT",
    //caption: "TEST TEXT",
    picture: blob
};
 
//Tried with lots of options...
//Titanium.Facebook.dialog("feed", data,function(e){});
 
Titanium.Facebook.request('photos.upload', data, function(e){});
 
//Titanium.Facebook.requestWithGraphPath('me/photos', data, 'POST', function(e){});
 
Titanium.Facebook.requestWithGraphPath('me/photos', data, 'POST', function(e){});
Is this right??

Thank for your help.

Your Answer

Think you can help? Login to answer this question!