Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 791
Roger Avatar asked Sep 28 '11 09:09

Roger


2 Answers

The page http://developers.facebook.com/live_status reports the issue today at 16:49 (GMT+1)

To follow the issue : https://developers.facebook.com/bugs/295765603772094

like image 106
ıɾuǝʞ Avatar answered Nov 03 '22 18:11

ıɾuǝʞ


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

like image 35
nicolas Avatar answered Nov 03 '22 17:11

nicolas