php - How to make a post to wordpress using the api? -


How can I create a post on a user's blog after giving me his login information using the WordPress API? What method do I need to use, should be the permutators, etc.? The sample code would be great.

I would like to use XML-RPC api, but others will also be acceptable.

Yes, you can metaWeblog.newPost or blogger.newPost < / Code>, an example of the first:

uses curl and xmlrpc_encode_request

Another example:

< P>

yes and @ french is correct


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -