fql.multiquery

Jul 2, 2009 at 5:09 AM

add this to fql.cs to turn on the new multiquery features

        /// <summary>

        /// Evaluates a series of FQL (Facebook Query Language) queries in one call and returns the data at one time.

        /// </summary>

        /// <param name="queries">List of queries</param>

        /// <returns>Result of the FQL queries as an XML string</returns> 

        public string multiquery(Dictionary<string,string> queries)

        {

            var parameterList = new Dictionary<string, string>(2) { { "method", "facebook.fql.multiquery" } };

            _api.AddRequiredParameter(parameterList, "queries", JSONHelper.ConvertToJSONAssociativeArray(queries));

            return _api.SendRequest(parameterList, true);

        }