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:變量];
}