在我的ios应用中,我想使用facebookSDK 3.1在用户墙上发布。
另外,如果可能的话,我想避免使用权限。
最佳答案
使用图谱API
来自ojota
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
kAppId, @"app_id",
@"http://developers.facebook.com/docs/reference/dialogs/", @"link",
@"http://fbrell.com/f8.jpg", @"picture",
@"Facebook Dialogs", @"name",
@"Reference Documentation", @"caption",
@"Dialogs provide a simple, consistent interface for apps to interact with users.", @"description",
@"Facebook Dialogs are so easy!", @"message",
nil];
[_facebook dialog:@"feed" andParams:params andDelegate:self];
关于ios - 使用iOS Facebook SDK 3.1在墙上张贴,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13814706/