如何从Facebook iOS SDK发布照片时在标题中添加自定义链接

时间:2013-05-12 03:43:21

标签: ios facebook sdk

当用户从iOS应用发布照片时,我尝试在标题中添加自定义链接。

像这样:pic

我的代码是:

    NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                    @" - Via www.google.com", @"message",
                                    aUIImage, @"picture",
                                    nil];


    FBRequestConnection *newPhotoConnection = [[FBRequestConnection alloc] init];

    FBRequest *request = [FBRequest requestWithGraphPath:@"me/photos" parameters:params HTTPMethod:@"POST"];

    [newPhotoConnection addRequest:request completionHandler:nil];
    [newPhotoConnection start];

我得到:pic

那么如何在标题中添加自定义链接?我是否需要在Facebook应用设置中添加任何设置?谢谢!

0 个答案:

没有答案