WP Engine

Solutions
AgencyEnterpriseSmall & Medium BusinessMarketer
How WP Engine supports marketers.Benefits for marketers.Features that help you innovate.
Developer
How WP Engine supports developers.Benefits for developers.Features that help you move faster.
Explore Our Platform
Insights
Thought LeadershipTopics

Read articles, trends, and insights on these topics from leaders in marketing and technology.

Creative AgilityEnterprise PerformanceActionable IntelligenceEcosystem Integration
Resources

Access ebooks, whitepapers, webinars, and other knowledge from our ecosystem of digital experts.
Visit Resource Center.

Delivering a Slam Dunk Experience on WordPressEbook: The Ultimate Guide to WordPress Plugins15 Common WordPress Mistakes Agencies and their Clients Make
Case Studies
About
Our CompanyOur PlatformLatest News

Access the latest news from inside WP Engine.
Visit the Newsroom.

WP Engine Secures Strategic Growth Investment From Silver LakeWP Engine Unveils First WordPress Digital ExperienceWP Engine Expands Global Presence with New Office in Brisbane
Media Center

Get announcements and resources about WP Engine.

Press Releases
Careers at WP Engine
Pricing
Sales Questions?

Contact Sales

Discover why organizations of all types and sizes choose WP Engine — and how it can benefit you.

Chat

1

I'm available right now to answer any of your questions!

Reply

Call

+1-512-201-4819

Contact

Send a message

Compare Plans
Need Support?
Support DocumentationBilling HelpSupport

We offer support 24 hours a day, 7 days a week, 365 days a year. Log in to get expert one-on-one help.

Log in for support

Sales Questions

Contact Sales

Discover why organizations of all types and sizes choose WP Engine — and how it can benefit you.

Chat

1

I'm available right now to answer any of your questions!

Reply

Call

+1-512-201-4819

Contact

Send a message

Sign in
Sign in
Search

Search

Compare Plans
Call Sales +1-512-201-4819
Menu
AgencyEnterpriseSmall & Medium BusinessMarketers
How WP Engine supports marketers.Benefits for marketersFeatures that help you innovate.
Developers
How WP Engine supports developers.Benefits for developers.Features that help you move faster.
Our PlatformPricingResource CenterOur CompanySolution CenterThought LeadershipDocumentationCareers

Debugging Facebook in Your WordPress Installation

Austin Gunter 1.10.2012

Facebook’s Open Graph Protocol has made it really simple to integrate your WordPress with Facebook’s Open Graph so your readers can share your content Facebook.  Any site, not just WordPress, can use this feature to socialize their content. Many of the sites hosted on WP Engine have the Facebook Plugin and a Facebook App, but the following tool will resolve Facebook API issues on most sites.

If you’ve had trouble with Facebook’s API displaying your content correctly, that typically means the <meta> tags Facebook created for the Open Graph are undefined in the header of your site.  Here’s how to use the the Open Graph debug tool and resolve the issue.

The following <meta> tags should be defined in the header:

  • og:title – The title of your object as it should appear within the graph: “The Matrix”.
  • og:type – The type of your object, “Movie”. See the complete list of supported types.
  • og:image – An image URL that represents your object within the graph. og:image – To associate multiple images with your page.
  • og:url – The canonical URL of your object that will be used as its permanent ID in the graph: http://www.youramazingwordpressblog.com/.

Open Graph Sharing

If the meta tags are incorrectly defined in the header, the open graph will categorize your page incorrectly

If those tags were unspecified, Facebook would infer their properties, and could pull them from anywhere on the site.  This means the wrong title or wrong image shows up in the Open Graph when someone wants to share the content.

If Facebook is displaying things incorrectly, going into the header to define the Open Graph properties is usually enough for correct information will show up.  To discover which tags need to be resolved without having to go through your code, just copy the offending URL into the debug tool.  Facebook will return list of unspecified <meta> tags.  Now you have a checklist of properties to define without hunting and pecking through code.

Example: Inferred Properties

Don’t make Facebook infer information about your site. Define the Open Graph meta Tags.

That’s a quick overview of how to use the Open Graph debug tool to make sure the Open Graph organizes and displays your site’s content correctly. The debug tool makes it a simple fix.  Just copy your URL into the debug tool and define the missing tags in the header of your site.

Thanks!

 

More WordPress news from WP Engine

At WP Engine, there’s no confusing caching pluginsAnnouncing Restore Points From WP Engine

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Subscribe

    Subscribe to our blog to get great tips for your WordPress site.

  • Favorite Tweets by @wpengine
  • Sign In

    Solutions

    • Agency
    • Enterprise
    • SMB
    • Marketer
    • Developer

    Insights

    • Blog
    • Torque
    • Velocitize

    About

    • Our Company
    • Leadership Team
    • Our Platform
    • Careers
    • Affiliates
    • Contact
    • Legal
    • Newsroom
    • Privacy Policy

    Resources

    • Resource Center
    • Documentation
    • Solution Center
    • Find an Agency

    WP Engine

    504 Lavaca Street, Suite 1000
    Austin, TX 78701

    Sales

    +1-512-201-4819
    [email protected]
    7am–7pm CST

    Billing

    [email protected]

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Instagram
    • RSS
    © 2013—2025 WPEngine, Inc. All rights reserved.
    WP ENGINE®, VELOCITIZE®, TORQUE®, EVERCACHE®, and the cog logo service marks are owned by WPEngine, Inc.