b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Manuals Home
  • Latest Updates
 
  1. b2evolution CMS User Manual
  2. Developer Reference
  3. How to... (Customize)
  4. Working with the Open Graph Protocol

Working with the Open Graph Protocol

The Open Graph Protocol aims at integrating any website into a global social graph. The main idea behind this movement is to provide a simple and common way to share contents through social networks, allowing social network providers to manage incoming data from billions of websites, based on the standard rules laid down by the protocol.

Starting from version 5.1.1, b2evolution supports the og:image and og:type open graph tags.

When enabled, the permalink page of a given post (disp=single) will include one <meta property="og:image" content="http:/url.to/your/image.jpg" /> tag for each image attached to it. Additionally, each post will be marked with <meta property="og:type" content="article" /> (as required by FaceBook).

That way, when a post is shared on a social network that supports the Open Graph protocol, the first image will be automatically added as a thumbnail. If there are more than one attached images, most social networks will allow the user will to select the most appropriate thumbnail in between those images.

This feature is fully supported by the following social networks:

  • Facebook - They also have a debugger that is great for testing: https://developers.facebook.com/tools/debug/og/object/
  • Google+
  • LinkedIn

Please read this page if you would like to know how to enable/disable this feature.

Caveats

  • Facebook seems to have a problem if your image URL or image name has a space in it. Also depending on the size of the image, it will be used differently.
Created by mgsolipa • Last edit by fplanque on 2020-06-09 00:25 • •

No feedback yet

On this page

  • Caveats

Search the Manual

Content Hierarchy

  • b2evolution CMS User Manual
  • User's Guide
  • Installation / Upgrade
  • Front-office Reference
  • Back-office Reference
  • Developer Reference
    • Website Skins/Themes
    • Email Skins/Themes
    • b2evolution Files
    • Website Integration
    • Plugins
    • Debugging
    • Technical Reference
    • Hacks
    • Credits
    • Development
    • How to... (Customize)
      • How to upgrade a b2evo blog template to an evoSkin
      • Popup Comments
      • FTP 101: How to upload and manage files on your web server
      • Working with the Open Graph Protocol
      • How to - Use "honeypots" in your forms
      • I made a change but my blog is not updated
      • Turn A Skin Into A Template
      • Where is the Templates Tab?
      • Display Recent Posts In The Sidebar
      • Recent Comments In The Sidebar
      • Include Item Feedback
      • How to display comments, trackbacks and pingbacks UNMIXED
      • Change the way my blog looks
      • How to use b2evolution as a CMS
      • How to Show the Assigned Author of a post
      • How to change the "Read More" link
      • How to call a blog through xyz.php instead of index.php?blog=x
      • How to turn a Skin into a Template
      • How To use Pop-Up Comments in your evoSkin
      • How to add a smilie to your toolbar
      • How to display the posts' author
      • Dev Menu
    • Scheduled Tasks Reference
  • Operations Reference
  • Advanced Topics
  • Glossary
  • Archives
Forums software

This online manual is powered by b2evolution CMS – A complete engine for your website.

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque