Iphone 贴在墙上,但我没有';我看不到任何附件。为什么?

Iphone 贴在墙上,但我没有';我看不到任何附件。为什么?,iphone,cocoa-touch,facebook,Iphone,Cocoa Touch,Facebook,为什么我看不到“Facebook跑步应用”的标题?我使用facebook connect示例 -(IBAction)publishStream:(id)sender { SBJSON *jsonWriter = [[SBJSON new] autorelease]; NSDictionary* actionLinks = [NSArray arrayWithObjects:[NSDictionary dictionaryWithObjectsAndKeys:

为什么我看不到“Facebook跑步应用”的标题?我使用facebook connect示例

-(IBAction)publishStream:(id)sender {
       SBJSON *jsonWriter = [[SBJSON new] autorelease];

  NSDictionary* actionLinks = [NSArray arrayWithObjects:[NSDictionary dictionaryWithObjectsAndKeys:
                               @"Always Running",@"text",@"http://itsti.me/",@"href", nil], nil];

  NSString *actionLinksStr = [jsonWriter stringWithObject:actionLinks];   
  NSDictionary* attachment = [NSDictionary dictionaryWithObjectsAndKeys:
                               @"a long run", @"name",
                               @"The Facebook Running app", @"caption",
                               @"it is fun", @"description",
                               @"http://itsti.me/", @"href", nil];   
  NSString *attachmentStr = [jsonWriter stringWithObject:attachment];   
  NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                 @"Head",  @"user_message_prompt",
                                 actionLinksStr, @"action_links",
                                 attachmentStr, @"attachment",
                                 nil];

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

我在演示中注释掉了动作链接和附件部分&调用facebook对话框的效果也一样。我不认为对对话框的调用使用了这些部分。我现在正在查看源代码,因为facebook当前存在一个对话问题。

如果您已经回答了一个老问题,为什么不提供更多信息?您没有真正回答任何问题,只是通知您仍在寻找答案。