-
Notifications
You must be signed in to change notification settings - Fork 0
/
fb_pageplugin_amp.html
33 lines (33 loc) · 1.54 KB
/
fb_pageplugin_amp.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Facebook Page Plugin</title>
<meta content='width=device-width, initial-scale=1' name='viewport'>
<style>
body {
background-color:transparent;
margin:0;
padding:0;
}
iframe{border:0}
</style>
<script>
function getQueryVariable(variable) {
var query = window.location.search.substring(1);
var vars = query.split("&");
for (var i=0;i<vars.length;i++) {
var pair = vars[i].split("=");
if(pair[0] == variable){return pair[1];}
}
return(false);
}
var pages = getQueryVariable("page");
</script>
</head>
<body>
<script>
document.write('<iframe name="f3e144c8d2bbe48" width="300px" height="330px" frameborder="0" allowtransparency="true" allowfullscreen="true" scrolling="no" title="fb:page Facebook Social Plugin" src="https://www.facebook.com/v2.8/plugins/page.php?adapt_container_width=false&app_id=113869198637480&channel=https%3A%2F%2Fstaticxx.facebook.com%2Fconnect%2Fxd_arbiter%2Fr%2FiPrOY23SGAp.js%3Fversion%3D42%23cb%3Df2d827014fcb94c%26domain%3Ddevelopers.facebook.com%26origin%3Dhttps%253A%252F%252Fdevelopers.facebook.com%252Ff34967aaf9b1bec%26relation%3Dparent.parent&container_width=613&height=330&hide_cover=false&href=https%3A%2F%2Fwww.facebook.com%2F'+ pages +'%2F&locale=en_US&sdk=joey&show_facepile=false&small_header=true&tabs=messages%2C%20timeline%2C%20events&width=300" style="border: none; visibility: visible; width: 300px; height: 330px;" __idm_frm__="868" class=""></iframe>');
</script>
</body>
</html>