我想使用Facebook Graph API分享链接。我正在做以下。
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"Description goes here.",@"description",
@"www.google.com/image.jpg",@"picture",
@"www.google.com/invites/username", @"link",
@"Google",@"name",
@"www.google.com",@"caption",
nil];
Facebook *fb = [Model shared].facebook;
[fb requestWithGraphPath:@"me/links" andParams:params andHttpMethod:@"POST" andDelegate:self];
我希望FB Post像这样:
但我所学到的是,Facebook Graph API从共享页面中自行获取图像和描述。
有没有办法自定义您要分享的内容?