2011-05-26 68 views
0

我用这个代码在Facebook上张贴从我的应用程序在iPhoneFacebook的关于对话框饲料iPhone SDK的问题

NSString *title=[NSString stringWithFormat:@"Posted from Poems of Love v2 iPhone/iPod/iPad touch app - { Poem Name: "]; 
//& titletext.text & ""\","; 
NSString *alltitle= [title stringByAppendingString:poemtitle.text]; 
alltitle= [alltitle stringByAppendingString:@" } - { Author:"]; 
alltitle= [alltitle stringByAppendingString:authorname.text]; 
NSString *alltitle1= [alltitle stringByAppendingString:@" }"]; 

    NSString *list = poembody.text; 
    NSString *[email protected]"numid"; 
    NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys: 
            kAppId, @"app_id", 
            @"http://www.poemsofloveapp.com", @"link", 
            @"http://3.bp.blogspot.com/_co4MVQE_2l0/TPRh6TBjaZI/AAAAAAAAAOg/E0kgWLd4ieE/s1600/poemsoflovev2logo.png", @"picture", 
            alltitle1, @"name", 
            @"\nhttp://www.poemsofloveapp.com - Join us on facebook!\n", @"caption", 
            list, @"description", 
            @"",@"message", 
            nil]; 
    [mainDelegate._session dialog:@"feed" andParams:params andDelegate:self]; 

的对话框显示了我点击跳过或发布,然后第二个对话框显示出来里面是空的!没有消息没有任何东西

这是为什么发生?

回答

0

我的错误抱歉,我打电话给[mainDelegate._session dialog:@“feed”andParams:params andDelegate:self]; 两次以前愚蠢我知道!

相关问题