You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to edit for example the Post title with this code:
WordPressWrapper blog = new WordPressWrapper("http://www.myblog.com/xmlrpc.php", "xxxx", "xxxx");
Post post = blog.GetPost(24782);
post.Title = "New title";
blog.EditPost(24782, post, true);
And I'm geting this error:
Server returned a fault exception: [404] Invalid post ID
Hmm...
I'm in the middle of doing a fairly significant re-write of most of this wrapper...
I'll take a look at this and try and push a fix for it for now though!
Hi,
First of all i want to thank you for your job.
I'm facing to an error with the EditPost method.
I'm trying to edit for example the Post title with this code:
WordPressWrapper blog = new WordPressWrapper("http://www.myblog.com/xmlrpc.php", "xxxx", "xxxx");
Post post = blog.GetPost(24782);
post.Title = "New title";
blog.EditPost(24782, post, true);
And I'm geting this error:
Server returned a fault exception: [404] Invalid post ID
On the line:
return _wrapper.EditPost(postID, Username, Password, Map.From.Post(content), publish);
Of the file:
WordPressWrapper.cs
What am I doing wrong?
Is it a known issue?
Thanks!
The text was updated successfully, but these errors were encountered: