Pass the post ID into the Query Arguments

<?php

add_filter( 'facetwp_preload_url_vars', function( $url_vars ) {
    $post_id = url_to_postid( FWP()->helper->get_uri() );
    $url_vars['post_id'] = $post_id;
    return $url_vars;
});