iosfacebookdialogpublishfacebook-feed

Feed dialog generating errors with iOS SDK


UPDATE: This problem was resolved when facebook fixed their service.

I'm trying to get the feed dialog to work for sharing with facebook. I had it all working before with the old, deprecated API and SDK, but have just moved to using the current iPhone SDK and am trying an example directly from the documenation here;

I keep getting the error, "Error with publishing" "There was a problem generating the Feed story from the provided data" and I cannot see what I'm doing wrong. Note that I have taken out the message parameter as it was deprecated in July, but I get the same problem whether or not that parameter is present.

Facebook *facebook = [[Facebook alloc] initWithAppId:kFacebookAppId andDelegate:self];


NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                               kFacebookAppId, @"app_id",
                               @"https://developers.facebook.com/docs/reference/dialogs/", @"link",
                               @"http://fbrell.com/f8.jpg", @"picture",
                               @"Facebook Dialogs", @"name",
                               @"Reference Documentation", @"caption",
                               @"Using Dialogs to interact with users.", @"description",
                               nil];   

[facebook dialog:@"feed" andParams:params andDelegate:self];

Can anyone see what I might be doing wrong? Thanks!

Here's the error screen


Solution

  • I don't think you are doing something wrong.

    Just experienced the same problem with with my working app.

    Most likely an issue on the side of facebook