Forums

[XML-RPC] How to get other blog's posts without having an author right? (2 posts)

  1. veiz
    Member
    Posted 2 years ago #

    Hi, I am doing some mobile client stuff, and want to get other blog's posts, but I'm not the author of that blog.

    I tried to use metaWeblog.getRecentPosts, but remote blog server response with nothing interesting.

    <param>
    <value><string>1</string></value>
    </param>
    <param>
    <value><string>myusername</string></value>
    </param>
    <param>
    <value><string>mypassword</string></value>
    </param>
    <param>
    <value><int>1</int></value>
    </param>

    returns
    Response:
    <methodResponse> <params> <param> <value><array> <data> </data> </array></value> </param> </params> </methodResponse>

    What wrong I did?

  2. Joseph Scott
    Member
    Posted 2 years ago #

    Have you tried calling metaWeblog.getRecentPosts with an admin account? I think that it's looking at recent comments across all authors, so if your aren't recent from the point of view of the blog then it won't return anything.

    Also trying bumping up the number of posts you want back, that should make it reach further back.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags