Get the last comment .NET CookComputing.XmlRpc
-
Good afternoon!
Help me please.
in my .NET C# programm i using CookComputing.XmlRpcV2.dll
I need to get the last comment in my c# programm
I did it so:‘
WP wp = new WP(“url”, “login”, “password”);Post[] post;
post = wp.GetRecentPosts(1);
int idpost = Convert.ToInt16(post[0].postid);CommentFilter f = new CommentFilter() { offset = 0, post_id = idpost, status = “approve” };
Comment[] c = wp.GetComments(f);
‘androidIt works in wordpress 3.0.1 but in wordpress the last version post selected from the last version a draft copy, accordingly in it there are no comments
-
You did not specify a blog address or reason for posting when you created this topic.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
-
I’m sorry but that site is not a free blog from and being free hosted by wordpress.COM so we cannot help you with it. WordPress.COM blogs and wordpress.org installs operate on different code. The correct support forum to get support for that blog is here > http://wordpress.ORG/support
- The topic ‘Get the last comment .NET CookComputing.XmlRpc’ is closed to new replies.