Post is not being published on Facebook if run through cron.
-
When I publish a post through cron then posts are not being posted to FB. Post status is changed to publish now but it’s not posted on FB. Without cron it’s working perfect.
Following code works without cron but not with cron.
$my_post = array(
‘ID’ => $post->ID,
‘post_status’ => ‘publish’
);
wp_update_post( $my_post );I’m getting following response for that particular post.
[2015-03-13 20:50:49] – [Skipped] [Facebook (MN)] – -=[Unchecked Account]=- – PostID:679
[2015-03-13 20:50:49] – [Start =- ]- ——=========#### NEW AUTO-POST REQUEST PostID:(679) Automated ####=========——
[2015-03-13 20:50:49] – [*** ID: 679, Type: event]- Status Changed: pending_to_publish. Autopost requested.thanks
https://wordpress.org/plugins/social-networks-auto-poster-facebook-twitter-g/
- The topic ‘Post is not being published on Facebook if run through cron.’ is closed to new replies.