php
<?php
add_filter( 'aioseo_facebook_tags', 'aioseo_filter_facebook_title' );
function aioseo_filter_facebook_title( $facebookMeta ) {
   if ( is_singular() && 14 === get_the_ID() ) {
      $facebookMeta['og:title'] = "A different title";
   }
   return $facebookMeta;
}