Title: Facebook &#039;Open graph image/video
Last modified: August 21, 2016

---

# Facebook 'Open graph image/video

 *  [dalewood](https://wordpress.org/support/users/dalewood/)
 * (@dalewood)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/facebook-open-graph-imagevideo/)
 * Hi
    Longshot but can anyone explain to me in very simple terms 1) What is Facebook
   Open Graph image/video 2) What is its application 3) How do you set it up
 * I wait in wonder and anticipation, hoping to learn something new!
    Kindest regards
   Phil

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [pinokio](https://wordpress.org/support/users/lapanwebsite/)
 * (@lapanwebsite)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/facebook-open-graph-imagevideo/#post-4553811)
 * I will give you one of my code, I call it “3 in 1 header”.
    You have favicon,
   title and Facebook Open Graph.
 *     ```
       <link rel="shortcut icon" href="FAVICON URL" />
   
       <title>
       <?php if ( is_home() ) { ?><?php bloginfo('name'); ?> | <?php bloginfo('description'); ?><?php }
       elseif ( is_front_page() ) { ?><?php bloginfo('name'); ?> | <?php bloginfo('description'); ?><?php }
       else { ?><?php wp_title(''); ?> | <?php bloginfo('name'); ?><?php } ?>
       </title>
   
       <?php if (have_posts()):while(have_posts()):the_post(); endwhile; endif;?>
       <!-- Facebook Opengraph -->
       	<meta property="og:url" content="<?php the_permalink() ?>"/>
       <?php if (is_singular()) { ?>
       	<meta property="og:type" content="article" />
       	<meta property="og:title" content="<?php single_post_title(''); ?> | YOUR WEBSITE" />
       	<meta property="og:description" content="<?php echo strip_tags(get_the_excerpt($post->ID)); ?> YOUR WEBSITE" />
       	<meta property="og:image" content="<?php $thumb = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'large'); echo $thumb[0]; ?>" />
       	<meta property="og:image" content="IMAGE URL" />
       	<meta property="og:image" content="IMAGE URL" />
       <?php } else { ?>
       	<meta property="og:type" content="website" />
       	<meta property="og:site_name" content="YOUR WEBSITE" />
       	<meta property="og:description" content="YOUR WEBSITE" />
       	<meta property="og:image" content="IMAGE URL" />
       	<meta property="og:image" content="IMAGE URL" />
       <?php } ?>
       ```
   
 *  Thread Starter [dalewood](https://wordpress.org/support/users/dalewood/)
 * (@dalewood)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/facebook-open-graph-imagevideo/#post-4553949)
 * Hi
    Thank you, not sure I fully understand what you have kindly sent me but I
   will study it!
 * What I am trying to find is the following
    1) My sites ‘Open Graph Image’ URL
   2) My sites ‘Open Graph video’ URL
 * Any guidance would be a blessing!
    Thank you again and take care Phil

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Facebook 'Open graph image/video’ is closed to new replies.

## Tags

 * [open graph image](https://wordpress.org/support/topic-tag/open-graph-image/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [dalewood](https://wordpress.org/support/users/dalewood/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/facebook-open-graph-imagevideo/#post-4553949)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
