Open Graph protocol for improved sharing via Facebook etc

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Get Involved
Post Reply
User avatar
Marcus Wendel
Registered User
Posts: 534
Joined: Sun Mar 10, 2002 5:58 pm
Location: Sweden
Contact:

Open Graph protocol for improved sharing via Facebook etc

Post by Marcus Wendel »

It would be very nice to have support for the Open Graph protocol in phpBB 3.1 to improve the results when people share links to forum posts via e.g. Facebook.

I currently use the below og meta tags but I have two areas where I would like to see an improvement:
* Description: should be the first 140 characters of the post.
* Image: Should list the first attachment with the default og image as fall back.

Code: Select all

<meta property="og:title" content="{TOPIC_TITLE} &bull; {SITENAME}"/>
<meta property="og:image" content="mydomain/images/logo-og.jpg" />
<meta property="og:site_name" content="{SITENAME}"/>
<meta property="og:description" content="{FORUM_DESC}"/> 
/Marcus

Post Reply

Return to “Extension Requests”