如何重新加載Facebook頁面?如何重新加載Facebook頁面?
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
<script type="text/javascript">
$(document).ready(function(){
/*var host = '<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.yahoo.com&send=false&layout=button_count&width=90&show_faces=false&action=like&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:120px; height:21px;" allowTransparency="true"></iframe>';
$(".like_frame").append(host);*/
$appdomain = 'http://www.facebook.com/apps/application.php?id=263130783727234&sk=app_263130783727234';
$(".likebtn").attr("href",$appdomain);
FB.Event.subscribe('edge.create',
function(response) {
window.location.reload();
}
);
});
</script>
<fb:like href="http://www.facebook.com/apps/application.php?id=appid&sk=app" width="450" height="80" class="likebtn"/>
當我點擊按鈕一樣,我需要重新加載facebook的page.However,上面的代碼重定向我http://www.facebook.com/insights/?sk=po_263130783727234 .. 如何重裝我的Facebook頁面?
Nopes,這是行不通的..Any其他的解決辦法? – user954687