Facebook API dialog page showing error in second time and after that

I want to share my app details.I just done as same given in facebook tutorial.When user loggen in and dialog page appears and i posted my msg.and it worked fine for first time only.when user tapped a button to share again,the dialog appears and showing error page

"Error occurred with 'Your_APP_NAME'.please try again later."

  • How to handle Facebook's deprecation of offline_access when you use token both in both iOS app and a server
  • FBConnect login, share with a webview?
  • facebookErrDomain error 10000 when calling graph api Facebook ios
  • IOS Facebook SDK: login doesn't return email despite permissions granted
  • How Facebook, SnapChat, or Gmail iOS apps prevent Fiddler decrypting their https traffic?
  • “fb://” url scheme - official or not?
  • I followed the tutorial in the facebook link below here. https://developers.facebook.com/docs/mobile/ios/build/

    Here it is my code.

    facebook = [[Facebook alloc] initWithAppId:@"YOUR_APP_ID" andDelegate:self];
     NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
            if ([defaults objectForKey:@"FBAccessTokenKey"] && [defaults objectForKey:@"FBExpirationDateKey"]) {
                facebook.accessToken = [defaults objectForKey:@"FBAccessTokenKey"];
                facebook.expirationDate = [defaults objectForKey:@"FBExpirationDateKey"];
    if (![facebook isSessionValid]) {
        [facebook authorize:nil];
    [self postWall];
    // Pre 4.2 support
    - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url {
        return [facebook handleOpenURL:url]; 
    - (void)fbDidLogin {
        NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
        [defaults setObject:[facebook accessToken] forKey:@"FBAccessTokenKey"];
        [defaults setObject:[facebook expirationDate] forKey:@"FBExpirationDateKey"];
        [defaults synchronize];
        [self postWall];
        NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                       @"Facebook Dialogs",@"name",
                                       @"Reference Documentation",@"caption",
                                       @"Using Dialogs to interact with users.",@"description",
                                       @"Facebook Dialogs are so easy!",@"message",
        [[self facebook] dialog:@"feed" andParams:params andDelegate:self];

    I do all this code in my viewcontroller file(Not in app delegate).I want to open facebook only when i press the button..So i put these codings in my buttonpressed method.

    Solutions Collect From Internet About “Facebook API dialog page showing error in second time and after that”

    Try with removing


    from your NSMutableDictionary params