<script type="text/javascript">
// 按讚後執行動作
FB.Event.subscribe('edge.create', function(response) {
top.location.href = "YOUR_APP_URL";
});
// 取消讚後執行動作
FB.Event.subscribe('edge.remove', function(response) {
top.location.href = "YOUR_APP_URL";
});
</script>
沒有留言:
張貼留言