1

Facebook のダイアログで、説明フィールドが削除されました。次のようなテキストを表示することになっています: Help! 米国フロリダ州フェリー パス 6108 ビレッジ オークス ドライブの近くで、フラッフィーという名前の犬を亡くした人がいます。犬を見つけるにはあなたの助けが必要です。Fluffy の失われた情報については、このリンクhttp://www.fruff.com/832をクリックしてください。

しかし、「失われた」という単語の後には何も表示されず、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