Esempio n. 1
0
        public async Task <IList <AttachmentData> > GetPostAttachments(string postId)
        {
            if (String.IsNullOrEmpty(postId))
            {
                throw new ArgumentNullException(nameof(postId), "PostId is not defined.");
            }
            var attachments = await _facebookClient.GetPostAttachments(postId);

            return(attachments);
        }