I am using FBConnect api for integrating facebook with my iPhone app. I can view user details, user friend list and also the events posted by the user in facebook using FQL queries. I want to post the events in facebook from my iPhone app using FQL queries. Though I have wrote my fql query as shown below
info=[info stringByAppendingFormat:[NSString stringWithFormat:@"%@,%@,%@,%@,%@,%@,%@,%@,%@,%@,%@,%@,%@,%@",name,category,subCategory,host,locations,city,stime,etime,street,phone,email,descript,privacy_type,tagline]];
fql=[NSString stringWithFormat:@"INSERT into event values(%@) WHERE uid=%@",info,FBUserID];
but the above code giving an error code- 100 saying: event_info parameter: array expected.
Can anyone , please help me to solve this problem, or is there any other suggestion? ...................Many thanks