stream.publish and attachments

Aug 17, 2009 at 8:42 PM

I am successful in doing stream.publish() with an image attachment, but it seems that I need values for and  If I leave as null or even fill category/ratings with blank string, I get "invalid parameter".  Can anyone tell me how to do a stream.publish() with an image attachment, and NOT have any of filled out?  I don't want the category: and ratings: strings showing up in the post.



Aug 18, 2009 at 6:17 PM

Currently you have to go into the FDT source and change the stream.cs file to have this -

if ( != null)
                    var cat = new Dictionary<string, string>{
                    var prop = new Dictionary<string, string>{
						{"category", JSONHelper.ConvertToJSONAssociativeArray(cat)},

                    propString = JSONHelper.ConvertToJSONAssociativeArray(prop);