如何让某人通过facebook API发布在他/她朋友的墙上,类似于instagr.am iPhone应用程序可让你在自己的墙上发帖?
答案 0 :(得分:0)
碰巧,Facebook有an iOS SDK available,以及如何将其用于post feed items的说明(使用交互式对话框或使用图谱API)。
答案 1 :(得分:0)
NSMutableDictionary* params1 = [NSMutableDictionary dictionaryWithObjectsAndKeys:
<appId>, @"api_key",
@"Happy Birthday....", @"message",
@"http://www.youtube.com/watch?v=wFh-rX_Sfhs", @"link",
@"http://www.99desi.com/wp-content/uploads/2011/03/Happy-Birthday.jpg", @"picture",
@"Many More Happy returns Of the Day...", @"name",
@" Believing hear, what you deserve to hear..", @"description",nil];
[facebook requestWithGraphPath:@"<frnd-ID>/feed" andParams:params1 andHttpMethod:@"POST" andDelegate:self];
你可以重复上述步骤,将其发布给多个朋友。
希望它可以帮助你...