WordPress.org

Ready to get started?Download WordPress

Forums

xmlrpc with python, can't get the featured image (2 posts)

  1. heaven00
    Member
    Posted 1 year ago #

    i am using xmlrpc api with python to auto post using my script, but i am having problem setting up featured image, i followed the example given here to attach the image to the post using attachment id http://python-wordpress-xmlrpc.readthedocs.org/en/latest/examples/media.html
    and this is my code that i am using.
    http://bpaste.net/show/khirJYNilmDNmjdy1chk/

  2. Dobrosław Żybort
    Member
    Posted 1 year ago #

    First: title and content can't be empty
    Second: there are some problems with thumbs: github issue
    When maxcutler will have time will probably fix that.

    Try code: http://bpaste.net/show/1n8fWF0dS06Dh0McubMc/

    Best regards

Topic Closed

This topic has been closed to new replies.

About this Topic