1
我已通過我正在製作的iPhone應用程序在我自己的個人資料上發佈了一篇帖子。然而,該帖子只對我可見,我如何修復隱私設置?我做了以下。我不知道jsonWriter部分是否正確,但我在Facebook的Video項目中找到了它。通過iOS應用程序發佈到用戶牆上時的隱私設置
NSDictionary *dictPrivacy = [NSDictionary dictionaryWithObjectsAndKeys:@"ALL_FRIENDS", @"value", nil];
SBJSON *jsonWriter = [[SBJSON new] autorelease];
NSString *strPrivacy = [jsonWriter stringWithObject:dictPrivacy];
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
name, @"name",
message, @"message",
picture, @"picture",
caption, @"caption",
link, @"link",
description, @"description",
strPrivacy, @"privacy", nil];