facebook关于对话框输入i​​phone的sdk问题

时间:2011-05-26 04:42:45

标签: ios4 facebook

我使用此代码在iphone中从我的应用程序发布

   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 *kAppId=@"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];

对话框显示我点击跳过或发布,然后第二个对话框显示为空!没有消息就没什么了

为什么会这样?

1 个答案:

答案 0 :(得分:0)

我的错误对不起我们打电话给[mainDelegate._session对话框:@“feed”andParams:params andDelegate:self]; 以前我知道两次愚蠢!!!

相关问题