我正在尝试在 Facebook 朋友的墙上发帖,我尝试了这两种方法,但都没有奏效:
1.
//post on wall
NSMutableDictionary *variables = [[NSMutableDictionary alloc]initWithCapacity:1];
[variables setObject:@"v" forKey:@"message"];
[graphref doGraphPost:[NSString stringWithFormat:@"1389799421/feed"] withPostVars:variables];
//post on wall
2.
[_facebook requestWithGraphPath:@"1389799421/feed"
andParams:[NSMutableDictionary dictionaryWithObject:@"test wall post" forKey:@"message"]
andHttpMethod:@"POST"
andDelegate:self];
......我不明白为什么!在 facebook 网站上,我添加了捆绑包和权限。