Created
January 14, 2015 06:19
-
-
Save yugaego/7b3e7ef6e03831e5f75d to your computer and use it in GitHub Desktop.
Facebook Login Channel File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$cache_expire = 60*60*24*365; | |
header("Pragma: public"); | |
header("Cache-Control: max-age=".$cache_expire); | |
header('Expires: ' . gmdate('D, d M Y H:i:s', time()+$cache_expire) . ' GMT'); | |
?> | |
<script type="text/javascript">document.domain = "domain.com";</script> | |
<script src="//connect.facebook.net/en_US/all.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment