Simple Machines Community Forum

SMF Development => Feature Requests => Topic started by: aka.sapu on October 05, 2014, 08:34:47 PM

Title: How can add facebook preview thumbnail
Post by: aka.sapu on October 05, 2014, 08:34:47 PM
Hi all..
How can i add facebook preview thumbnail to my forum..

!DOCTYPE HTML>

<html>
<html prefix="og: http://ogp.me/ns#">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type="text/javascript">var _gaq=_gaq||[];_gaq.push(['_setSiteSpeedSampleRate',100]);</script><title>Ik Gaming</title>
<meta property="fb:app_id" content="14791309###28523">
<meta property="og:type" content="article">
<meta property="og:locale" content="en_US">
<meta property="og:title" content="Ik Gaming">
<meta property="og:image" content="Img url">
<meta property="og:description" content="Img url">
<meta property="og:url" content="http://forum.infamous-gaming.net76.net/">
<meta property="og:title" content="IK Gaming">
<meta property="og:type" content="website">
<meta property="og:image" content="Img url">
<meta property="og:site_name" content="IK Gaming">
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />

</head>


I just add this with new html file..when i test it on Fb debugger..it's popup some errors but showed the image
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi9.photobucket.com%2Falbums%2Fa77%2FSapumal_Maduhara%2Fd_zps9efa0c37.jpg&hash=19515d90b39406f41c4bfab6188b9f892462a7cd)

But when i shared my forum url...nothing showed up..just only the link i pasted..atleast there is no description :(
is anyone have a solution for this..or a mod?
Here is my forum forum.infamous-gaming.net76.net
Title: Re: How can add facebook preview thumbnail
Post by: Antes on October 05, 2014, 08:52:19 PM
Adding some basic OG types to SMF 2.1 is indeed in my list. We had a small discussion here (http://www.simplemachines.org/community/index.php?topic=527445.0), you can join the discussion under that topic.