JETPACK_FACEBOOK_EMBED_REGEX

(www.)?facebook.com/([^/]+)/(posts|photos)/([^/]+)?#' );.

Value (string)

'#^https?://(www.)?facebook\.com/([^/]+)/(posts|photos)/([^/]+)?#' 

Usage

  1. if ( defined( 'JETPACK_FACEBOOK_EMBED_REGEX' ) ) { 
  2.  
  3. // grab the value 
  4. $value = constant( 'JETPACK_FACEBOOK_EMBED_REGEX' ); 
  5.  
  6. if ( !empty( $value ) ) { 
  7. // go forth and prosper... 
  8.  

Defined (1)

The constant is defined in the following location(s).

/modules/shortcodes/facebook.php  
  1. define( 'JETPACK_FACEBOOK_EMBED_REGEX', '#^https?://(www.)?facebook\.com/([^/]+)/(posts|photos)/([^/]+)?#' );