after uploading an image, i want to post it on the users wall. Unfortunately, i get the following error within a Facebook UI:
"FBCDN image is not allowed in stream.filepath"
It seems that the value @"picture" won´t be accepted, but why? When i NSLog the "thumbURL", its correct. How can i fix that? Here´s my complete method:
NSString *thumbURL = kDefaultThumbURL;
NSString *imageLink = [NSString stringWithFormat:[result objectForKey:@"link"]];
NSMutableDictionary* dialogParams = [NSMutableDictionary dictionaryWithObjectsAndKeys:
kAppId, @"app_id",
imageLink, @"link",
thumbURL, @"picture",
@"imageName", @"name",
nil];
[appDelegate.facebook dialog:@"feed"
andParams:dialogParams
andDelegate:self];
Thanks for any help..
You need to store the image some where locally ,in a local server . due to this article
I got around this same issue by writing a page that just forwards the image data and then linking to that instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With