Closed
Bug 436097
Opened 17 years ago
Closed 17 years ago
xmlrpc doesn't appear to work on blog.mozilla.com
Categories
(mozilla.org Graveyard :: Server Operations, task)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: benjamin, Assigned: oremj)
Details
I'm trying to post to blog.mozilla.com using the XML-RPC interface to wordpress: I've tested the script and it works on my own blog, but it has login failure notices on blog.mozilla.com:
XML-RPC URL: https://blog.mozilla.com/meeting-notes/xmlrpc.php
username: bsmedberg@mozilla.com
password: LDAP password
<Fault 403: 'Bad login/pass combination'>
Note: this username/password works if I login through https://blog.mozilla.com/meeting-notes/wp-login.php
| Assignee | ||
Updated•17 years ago
|
Assignee: server-ops → oremj
| Assignee | ||
Comment 1•17 years ago
|
||
Your script is probably missing a param for the method you are using. For example wp.getPages requires 3 parameters, so the request needs to look like:
<params>
<param>
<value><string></string></value>
</param>
<param>
<value><string>bar</string></value>
</param>
<param>
<value><string>foo</string></value>
</param>
</params>
More documentation is here: http://codex.wordpress.org/XML-RPC_wp
system.listMethods() should give you a list of all supported xml-rpc methods.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 2•17 years ago
|
||
Yah, the problem was that I was passing blogid = '1' (which works for personal blogs but not for large shared installs!)... I dug a little through the API and figured out that meeting-notes is blogid 85.
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•