看https://graph.facebook.com/331218348435 我想发布'场地'信息,如何插入一个子节点/字典到postArgs?我可以得到的基本信息如下词典与字典<字符串,字符串>
Facebook.FacebookAPI api = new Facebook.FacebookAPI(GetAccessToken(code));
Dictionary<string, string> postArgs = new Dictionary<string, string>();
postArgs["name"] = myEvent.Title;
postArgs["description"] = myEvent.Content;
postArgs["start_time"] = myEvent.DateStart;
postArgs["end_time"] = myEvent.DateEnd;
postArgs["location"] = myEvent.Location; //myEvent.City;//";
postArgs["page_id"] = "1234567";
// Dictionary<string, string> postVenue = new Dictionary<string, string>();
// postVenue["city"] = myEvent.City;
// postVenue["state"] = myEvent.County;
// postVenue["country"] = "United Kingdom";
// postVenue["latitude"] = myEvent.Latitude;
// postVenue["longitude"] = myEvent.Longitude;
// here I need to add postVenue to postArgs as a child.
api.Post("/12345676788/events", postArgs);
感谢您的时间。