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
Post a Comment