Skip to content

Instantly share code, notes, and snippets.

@zulhfreelancer
Last active August 29, 2015 14:13
Show Gist options
  • Save zulhfreelancer/edadd2aad53c2ce576be to your computer and use it in GitHub Desktop.
Save zulhfreelancer/edadd2aad53c2ce576be to your computer and use it in GitHub Desktop.
Share to Facebook with Image + Link to Website
// Demo: http://dontbodoh.com/result.php?char=character1.png <-- char paramater is dynamic based on result, return different image
// Check out line number 11 (image) and 14 (auto refresh)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width; initial-scale=1; minimum-scale=1,maximum-scale=1.0; user-scalable=1;">
<meta property="og:title" content="I have just checked if my mobile plan is the best in town through Don't Bodoh.">
<meta property="og:image" content="http://dontbodoh.com/images/character1.png">
<meta property="og:site_name" content="DON'T BODOH">
<meta property="og:description" content="Click here to find out if your telco plan is the best in town as what the telco promised!">
<meta http-equiv="refresh" content="0; url=http://dontbodoh.com">
<link rel="shortcut icon" href="http://dontbodoh.com/images/favicon.ico">
<title>Don't Bodoh</title>
</head>
<body>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment