• Resolved psimatrix

    (@psimatrix)


    We import posts through a manual DTS process from a MSSQL database via DTS into mySQL/Wordpress. We do not manually edit these posts via the WordPress Dashboard. When we create new records, they do not get syndicated to social media via Publicize. Is there a flag, property or API call that needs to be created in order to force these posts to publicize?

    https://wordpress.org/plugins/jetpack/

Viewing 1 replies (of 1 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    That’s indeed to be expected. Publicize is only triggered:

    1. If the post is a draft, and includes the necessary post meta showing that it’s ready to be publicized.
    2. when the post status changes from draft or scheduled to published, on the transition_post_status action.

    You can find out more about how Publicize works here:
    https://github.com/Automattic/jetpack/blob/3.8.1/modules/publicize/publicize.php

    If you import the posts into the database directly, you probably don’t go through any of these steps. It might be easier to add the post meta as you import the posts into the database, and only import the posts as drafts or scheduled posts, so the post status transition can happen.

    I hope this helps.

Viewing 1 replies (of 1 total)

The topic ‘Imported Posts not Publicizing’ is closed to new replies.