I've built myself a tool for posting to my WordPress.com site via XML-RPC. When I use the tool with the metaWeblog.newPost a new post is in fact created. However, according to the documentation (http://codex.wordpress.org/XML-RPC_MetaWeblog_API#metaWeblog.newPost) the postid, an integer, should be as a string in the response. It is not though.
I am using PHP and cURL with the metaWeblog.newPost XML-RPC method. As I've stated it is capable of creating a blog post but does not return the postid. Instead it returns FALSE.
When I mess up the login creds I get a faultCode 403 and can see the message in my cURL response. And when I don't the post shows up. So this leads me to believe it isn't my code but rather WordPress.com not returning the postid on purpose.
What I really want is the permalink of the new post. I had intended to use the postid with the metaWeblog.getPost method in order to get that permalink. Is there another way to get the permalink?