0
我正在使用此代码在facebook页面上发布任何带有代码中提到的页面id的文本。它给成功的消息,但当我转到页面没有什么。 PLS帮助...在facebook页面发布
预先感谢
-(void)facebookPost;
{ 的NSMutableDictionary *变量= [的NSMutableDictionary dictionaryWithCapacity:2]; FbGraphFile * graph_file = [[FbGraphFile alloc] init]; // initWithImage:[UIImage imageNamed:@“gg”]]; //最后,将FbGraphFileobject设置到我们的变量字典中。
[variables setObject:@"hihihi" forKey:@"message"];
FbGraphResponse *fb_graph_response = [fbGraph doGraphPost:[NSString stringWithFormat:@"%@/167884363345570/feed",FACEBOOK_APP_KEY] withPostVars:variables];
FbGraphResponse * fb_graph_response = [fbGraph doGraphPost:[的NSString stringWithFormat:@ “%@/167884363345570 /进料”,FACEBOOK_APP_KEY] withPostVars:变量];
}