public void TestCreateFeedItem() // "0D50b00004tPIGgCAO"
        {
            Salesforce.SalesforceProxy.FeedItem att = new Salesforce.SalesforceProxy.FeedItem()
            {
                Body            = "Create Feed Item from code with existing feed attachment",
                Type            = "ContentPost",
                HasContent      = true,
                ParentId        = "00Q0b00001XoqW5EAJ", // Lead ID - LeadFN1 LeadLN1
                RelatedRecordId = "0680b0000038iyHAAQ"  // existing Feed Attachment created by hand on LeadFN
            };

            Salesforce.SalesforceProxy.SaveResult result = sf.Create(att);
        }
        public void TestQueryFeedItem()
        {
            Salesforce.SalesforceProxy.sObject[] objects = sf.Query(
                "SELECT Title, Body, Id, Type, HasContent, HasFeedEntity, ParentId, RelatedRecordId FROM FeedItem");

            for (int i = 0; i < objects.Length; i++)
            {
                Salesforce.SalesforceProxy.FeedItem att = (Salesforce.SalesforceProxy.FeedItem)objects[i];
                Console.WriteLine(
                    "{0}\t{1}\nBody:\t{2}\nId:\t{3}\nType:\t{4}\nHasContent:{5}\nHasFeedEntity:\t{6}\nParentId:\t{7}\nRelatedRecordId:\t{8}",
                    i + 1, att.Title, att.Body, att.Id, att.Type, att.HasContent, att.HasFeedEntity, att.ParentId, att.RelatedRecordId);
            }
        }