alexjamesbrown / JoeBlogs

Wordpress / Metaweblog API Wrapper
53 stars 40 forks source link

Method EditPost returns error #21

Open juanmalberti opened 11 years ago

juanmalberti commented 11 years ago

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!

diogoweb commented 11 years ago

same problem here :/

alexjamesbrown commented 11 years ago

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!

gregflorin commented 11 years ago

I have the same problem, is there a solution ?

Thanks