【发布时间】:2011-12-05 07:37:07
【问题描述】:
我已经知道如何将帖子添加到我的用户供稿中,但目前它需要使用图片 URL:
// The action links to be shown with the post in the feed
NSArray* actionLinks = [NSArray arrayWithObjects:[NSDictionary dictionaryWithObjectsAndKeys:
self.title,@"name",self.url,@"link", nil], nil];
NSString *actionLinksStr = [jsonWriter stringWithObject:actionLinks];
// Dialog parameters
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
self.title, @"name",
@"Created using My App.", @"caption",
@"Check out the thing I just uploaded!", @"description",
self.url, @"link",
@"http://www.facebookmobileweb.com/hackbook/img/facebook_icon_large.png", @"picture",
actionLinksStr, @"actions",
nil];
[facebook dialog:@"feed" andParams:params andDelegate:self];
我想上传UIImage。我看到有些人谈论为此使用graph api。我将如何做到这一点并且仍然能够使用标题、标题和消息?
【问题讨论】:
标签: ios facebook cocoa-touch facebook-graph-api