Support » Plugin: Instant Articles for WP » plugin auto publishing to production?

  • This is a bit alarming I read that Facebook won’t publish the IA without manual push YET the plugin seems to be pushing right to prod! Anyone else experiencing the same results?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you checked under Production RSS Feed that your setting “Import all articles as drafts” is set true? This is on your FB page manager under Publishing Tools/Instant Articles/Configuration

    MrGregWaugh

    (@mrgregwaugh)

    Is the question more that this behavior is able to be changed when using the RSS method of importing, but when using the API-based publishing on this plugin there is no option to have articles post as drafts?

    If the latter, then I’d agree that this would be a good feature, considering that we had that option when using the older RSS method. For some sites, we give the editorial staff the ability to choose which stories to go IA before they are published, so this is a needed feature for us.

    Poking around at the code, line 120 of class-instant-articles-publisher.php, this seems to be hard-coded to publish if not in development mode.

    if ( $dev_mode ) {
    	$published = false;
    } else {
    	// Any publish status other than 'publish' means draft for the Instant Article.
    	$published = true;
    }

    Devs, is it possible to add a preference option or even a WP filter to this to allow publishers to control whether or not it will be published automatically?

    Many thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘plugin auto publishing to production?’ is closed to new replies.