Facebook对话框ios减少了文本

时间:2013-06-01 19:05:26

标签: ios facebook facebook-ios-sdk

我的Facebook对话框剪下了描述字段。 它应该显示如下文字: 救命!有人在美国佛罗里达州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];

0 个答案:

没有答案
相关问题