I\'m currently developing a plugin for a client that takes an xml feed hourly and posts it into wordpress and I\'m having trouble sending the featured image to the post.
It should be something like this
'wp_post_thumbnail' => $pictureid
You have to get the ID of uploaded picture into variable and then assign it as a value of 'wp_post_thumbnail' parameter for 'metaWeblog.newPost'