• [2025-01-31 07:31:05] handle_post called for post ID: 412
    [2025-01-31 07:31:05] Post is published and of type 'post', calling post_to_bluesky
    [2025-01-31 07:31:05] post_to_bluesky called for post ID: 412
    [2025-01-31 07:31:05] Authenticating with Bluesky
    [2025-01-31 07:31:06] Authentication successful, DID: did:plc:mykxqqi3betsgojbkhos7***
    [2025-01-31 07:31:06] No image URL found
    [2025-01-31 07:31:06] Posting to Bluesky with data: {"repo":"did:plc:mykxqqi3betsgojbkhos7mav","collection":"app.bsky.feed.post","record":{"text":"","createdAt":"2025-01-31T07:31:06+00:00","embed":{"$type":"app.bsky.embed.external","external":{"uri":"https:\/\/****.com\/2025\/01\/31\/test\/","title":"test","description":"test2","thumb":""}}}}
    [2025-01-31 07:31:06] Failed to post to Bluesky. Status code: 400, Body: {"error":"InvalidRequest","message":"Invalid app.bsky.feed.post record: Record/embed/external/thumb should be a blob ref"}
    [2025-01-31 07:31:07] Plugin initialized

    i’m running v1.3. This is on a fresh install.

    What’s odd is that whether I specify an image, featured or not, it says “No image URL found”.

    • This topic was modified 3 months, 1 week ago by cneu.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Emma Blackwell

    (@lunaraurora)

    Hi, from the log there’s no image .. https:\/\/****.com\/2025\/01\/31\/test\/ ..where the image here? .. without a featuring image, the post can not be published

    Thread Starter cneu

    (@cneu)

    thats the thing . Whether I specify an image or not, featured or in the post, it returns that error about a blob and fails to post to blue sky.

    Plugin Author Emma Blackwell

    (@lunaraurora)

    Which extension the image have? Is under 1mb big?

    Thread Starter cneu

    (@cneu)

    I’ve tried with a bunch of different images. They’re all under 1mb. PNG and JPG have both been tried.

    I censored my domain name. That’s the link to the temporary post.

    • This reply was modified 3 months, 1 week ago by cneu.
    Plugin Author Emma Blackwell

    (@lunaraurora)

    Please uninstall and try to install again after downloading: https://downloads.wordpress.org/plugin/simple-auto-poster-for-bluesky.1.3.zip ..be sure to publish a new post (not updating old posts) with a new link / ID; the plugin does not publish duplicate posts on bluesky.
    ..otherway it could be an incompatibility of your theme since it is an isolated case.

    Thread Starter cneu

    (@cneu)

    Same error with new version

    [2025-02-03 18:59:27] handle_post called for post ID: 714
    [2025-02-03 18:59:27] Post is published and of type 'post', calling post_to_bluesky
    [2025-02-03 18:59:27] post_to_bluesky called for post ID: 714
    [2025-02-03 18:59:27] Authenticating with Bluesky
    [2025-02-03 18:59:27] Authentication successful, DID: did:plc:mykxqqi3betsgojbkhos7mav
    [2025-02-03 18:59:27] Plugin initialized
    [2025-02-03 18:59:28] Plugin initialized
    [2025-02-03 18:59:28] No image URL found
    [2025-02-03 18:59:28] Posting to Bluesky with data: {"repo":"did:plc:mykxqqi3betsgojbkhos7mav","collection":"app.bsky.feed.post","record":{"text":"","createdAt":"2025-02-03T18:59:28+00:00","embed":{"$type":"app.bsky.embed.external","external":{"uri":"https:\/\/chadneu.com\/2025\/02\/03\/test-43234\/","title":"test 43234","description":"tewtstseseffsd","thumb":""}}}}
    [2025-02-03 18:59:29] Failed to post to Bluesky. Status code: 400, Body: {"error":"InvalidRequest","message":"Invalid app.bsky.feed.post record: Record/embed/external/thumb should be a blob ref"}
    [2025-02-03 18:59:34] Plugin initialized

    Plugin Author Emma Blackwell

    (@lunaraurora)

    .. it could be an incompatibility with another plugin, can you try one last time with the ‘media library assistant’ plugin disabled?.. if this also fails I can’t help you, sorry

    Cneu,

    When Emma refers to a “featured image”, she is using the WordPress terminology for an image used in your templates. Featured images can be set for each post. Most templates have a default image for when a featured image has not been set.

    The plugin executes at the end of the WP post process. The plugin loads the content of the post using a WP function wp_remote_retrieve_body(). It then uses preg_match to identify four <meta property> tags in the <head> of the post. Please check your post to ensure that the following tags are present:

    <meta property="og:title" content="A sample post">
    <meta property="og:description" content="A description of the post">
    <meta property="og:image" content="http://example.com/image.jpg">
    <meta property="article:published_time" content="...timestamp...">

    Look at the html code of your published post. If the og:image tag is not present, then the plugin will not execute and your post will not be posted to Bluesky. You may be able to edit your WP template to add these tags, but you will need to know what you are doing.

    Many websites have tags using the Facebook standard: fb:image, fb:title, etc… These are equivalent but non-standard. Perhaps a future upgrade to this plugin could search for these as well.

    Plugin Author Emma Blackwell

    (@lunaraurora)

    @njesson

    .. thanks for the useful input

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.