El Chango Vancouver Web Developer

  • Home
  • Services
  • Portfolio
  • About Us
  • Contact
  • Blog
  • Tools

Customizing A Shared Page On Facebook: Use Open Graph

Posted: September 9th, 2011
 

Whenever you share a link on Facebook or you paste a link into your status update, you’ll notice that it displays a title and sometimes a description and photo. To change what information is displayed when a page on your website is displayed involves using Open Graph, or simply placing a number of Meta Tags in the <head></head> of each page on your website with customized content to display in Facebook.

Here’s an example of what the Meta Tags would look like:

<meta property="og:title" content="Roto Grip Bandit Bowling Balls"/>
 <meta property="og:type" content="product"/>
 <meta property="og:url" content="http://www.bowlingball.com/products/bowling-balls/RotoGrip/9528/Bandit.html"/>
 <meta property="og:image" content="http://static-images.intheproshop.com/product-images/roto-grip/bowling-balls/300/bandit-28912.jpg"/>
 <meta property="og:site_name" content="BowlingBall.com"/>
 <meta property="fb:admins" content="USER_ID"/>
 <meta property="og:description" content="The new bad boy in town will help you steal all of your competitor's cash and not feel bad about it one bit! The soon to be infamous Roto Grip Bandit Bowling Ball!"/>

For the image property, use a link to an image on your website that is at least 50px X 50px, an aspect ratio of 3:1, and in the PNG, JPG, or GIF format. The type property can be chosen from a list of examples. http://developers.facebook.com/docs/opengraph/#types

How To Determine Your Facebook User_ID

To determine your Facebook USER_ID, add your username to end of the following URL: https://graph.facebook.com/

For example, if your username is “chimp”, then you will load the URL https://graph.facebook.com/chimp/ and it should return a screen with the information below where you can simply copy / paste the “id”:

Facebook Chimp User

Facebook Won’t Display My Image or Open Graph Data

Sometimes Facebook doesn’t see the updates you’ve made in the Meta Tags right away due to its servers caching old content. Try the following steps to see the update image or open graph data:

  1. Use Facebook’s Debugger Tool – Formally called Facebook Lint, this tool will reload the open graph content from the URL you enter and reset the page information, providing you with details of what’s in your Meta tags and what you are missing. Click here to go to the debug tool.
  2. Login Again – If you tried the Debugger tool above, logout of Facebook and back in again. Sometimes the page information is cached in your browser and logging in again seems to clear this.
No Comments
 

Tags: custom facebook link image, facebook debug, facebook lint, facebook meta tags, facebook meta tags don't display, facebook share, faceook, open graph
Posted in Code, Online Marketing Strategy, Social Media | No Comments »

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Tweets by @elchango
  • Categories

    • Code (14)
    • Google (10)
    • Mapping (3)
    • Misc (3)
    • Online Marketing Strategy (16)
    • SEO (12)
    • Social Media (16)
    • Web Analytics (5)
    • Web Design (6)
    • Wordpress (5)
  • Archives

    • May 2013
    • February 2013
    • January 2013
    • December 2012
    • November 2012
    • October 2012
    • June 2012
    • May 2012
    • March 2012
    • February 2012
    • January 2012
    • December 2011
    • November 2011
    • September 2011
    • August 2011
    • July 2011
    • June 2011
    • May 2011
    • April 2011
    • March 2011
    • July 2010
    • April 2010
    • August 2009
    • February 2009
    • November 2008
    • September 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • January 2008
    • December 2007
 

Recent Blog Posts

  • WordPress Blog Post Checklist
  • Learn With Google For Publishers
  • Facebook Graph Search – What Should Businesses Do Now

Keep in Touch

Join our Facebook Fan Page   Follow Us on Twitter   Subscribe to our RSS Feed
 
© Copyright 2013 El Chango Media, Vancouver, BC, Canada | Terms and Conditions | Privacy Policy