Title: Wrong image due to wrong priority
Last modified: January 26, 2018

---

# Wrong image due to wrong priority

 *  Resolved [Liddika](https://wordpress.org/support/users/liddika/)
 * (@liddika)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/wrong-image-due-to-wrong-priority/)
 * Hello,
 * I am using WordPress Automatic Plugin ([https://codecanyon.net/item/wordpress-automatic-plugin/1904470](https://codecanyon.net/item/wordpress-automatic-plugin/1904470))
   to post articles to my website. However I noticed that it always posts the wrong
   image (the first one from the sidebar, rather than the featured image).
 * I’ve already been debugging everything for 2 days. The og:image tags are correct,
   Facebook scrapes the article correctly, however it seems when WordPress Automatic
   plugin is adding new posts using wordpress cronjob, Facebook Auto Publish does
   not yet have the featured image.
    This leads me to believe that Facebook Auto
   Publish is triggered before WP Automatic has fully added the post with the image
   to WordPress.
 * I see Facebook Auto Publish hooks into `transition_post_status` to get triggered,
   while WP Automatic uses `wp_insert_post` via wp cronjob.
 * I assume `transition_post_status` gets triggered before `wp_insert_post` and 
   that’s why it can’t retrieve the featured image picture?
 * What could I do?

Viewing 1 replies (of 1 total)

 *  Thread Starter [Liddika](https://wordpress.org/support/users/liddika/)
 * (@liddika)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/wrong-image-due-to-wrong-priority/#post-9916000)
 * Wrong plugin forum, sorry.
    Was suppose to be going to Facebook Auto Publush

Viewing 1 replies (of 1 total)

The topic ‘Wrong image due to wrong priority’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/accesspress-facebook-auto-post_e8ebe9.
   svg)
 * [Social Auto Poster](https://wordpress.org/plugins/accesspress-facebook-auto-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accesspress-facebook-auto-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accesspress-facebook-auto-post/)
 * [Active Topics](https://wordpress.org/support/plugin/accesspress-facebook-auto-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accesspress-facebook-auto-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accesspress-facebook-auto-post/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Liddika](https://wordpress.org/support/users/liddika/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/wrong-image-due-to-wrong-priority/#post-9916000)
 * Status: resolved