• Hi, thank you so much for offering this work, it will save me so much time!

    I have had the importer installed for a while, but the image capturing from tweets is intermittent and I don’t know why it gets some images and not others. In the last few days (since Jan 10-11) it has not imported any images to any posts although they have appeared on twitter.

    Are there any debugging steps I can take or log files I can look at to track down the source of my issue?

Viewing 1 replies (of 1 total)
  • Plugin Author Beau Lebens

    (@beaulebens)

    Hrm, that’s weird. Are you able to upload images normally?

    There’s a constant you can set (in your wp-config is a good place):

    define( 'KEYRING__DEBUG_MODE', true );

    That will output a bunch of additional information (like, a crazy amount) into your server’s error_log file. From there you can hopefully have a look and see if you’re seeing any errors or anything weird.

    Possibilities:

    – the tweets might not actually have the image embedded in them properly? You can look at an imported tweet, where you’d expect to see an image, and take a look at the Custom Field (postmeta) called raw_import_data. That should contain a JSON-encoded object of data that was used to import the tweet/create the post. There should be a property called extended_entities which should have an array of media objects.
    – If those look OK, then check your Media Library, and see if the images were downloaded (and not embedded properly, perhaps)
    – And also check the text/source of your post, and see if the image is being included in there at all (even if it’s a direct reference to the remote image).

    If you can provide more information; some sample URLs (to the posts + tweets), a copy of the raw_import_data, etc, maybe we can figure it out.

    Beau

    • This reply was modified 7 years, 10 months ago by Beau Lebens.
Viewing 1 replies (of 1 total)
  • The topic ‘Twitter importer not importing images’ is closed to new replies.