string query1 = String.Format("\"query1\":\"SELECT pid, object_id, src_big, owner FROM photo where object_id={0}\"", photoFbId);
string query2 = String.Format("\"query2\":\"SELECT first_name, last_name FROM user where uid in (select owner from #query1)\"");
var client = new FacebookClient(accessToken);
dynamic imageArray = client.Query(query1,query2);
gives (100) queries parameter: array expected. in line dynamic imageArray = client.Query(query1,query2);
What have I done wrong? The Query method accepts params string so it should be fine..
If you pass more then one parameter to the Query method, it will automatically use the multi-query instead of single query.
The Facebook C# SDK automatically adds the query1 and query2. you only need to enter the query.
You can then access the values of the fql by.
You can learn more about making requests using Facebook C# SDK at http://blog.prabir.me/post/Facebook-CSharp-SDK-Making-Requests.aspx