1

我的 facebook 对话框减少了描述字段。它应该显示如下文本:Help!有人在美国佛罗里达州 Ferry Pass 的 6108 Village Oaks Dr 附近丢失了一只名叫 Fluffy 的狗,需要您的帮助才能找到它。单击此链接http://www.fruff.com/832获取 Fluffy 丢失的信息。

但是“丢失”这个词之后什么都没有显示,Facebook 上也没有显示更多按钮或类似的东西。我做错什么了吗?

 NSMutableDictionary *dictionary;
    NSString * type = [[petInfo objectForKey:@"type"]lowercaseString];
    NSString * description;



    if([[petInfo objectForKey:@"my_pet"]intValue] == 1){
    description = [NSString stringWithFormat:@"Help! I have lost my %@, %@, near %@ and I need your help to find it. Click this link %@ for %@'s lost information",type,[petInfo objectForKey:@"name"],[lostInfo objectForKey:@"address"], url,[petInfo objectForKey:@"name"]];
    }
    else{
    description = [NSString stringWithFormat:@"Help! Someone has lost their %@, named %@, near %@ and needs your help to find it. Click this link %@ for %@'s lost information.              ",type,[petInfo objectForKey:@"name"],[lostInfo objectForKey:@"address"], url,[petInfo objectForKey:@"name"]];
    }


    dictionary = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                  @"Lost Pet", @"name",
                  @"Help!", @"caption",
                  description, @"description",
                  url, @"link",
                  [petInfo objectForKey:@"picture"], @"picture",
                  nil];


    [facebook dialog:@"feed" andParams:dictionary andDelegate:self];
4

0 回答 0