Pass the post ID into the Query Arguments

<?php

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