Sha256: 9919ec0944884b47c8c088774740cdddf0bbde272d97f68fc93637d5a9c9cefc

Contents?: true

Size: 515 Bytes

Versions: 18

Compression:

Stored size: 515 Bytes

Contents

<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
  FB.init({appId: '<%=FB_APP_ID%>', status: true, cookie: true, xfbml: true});
  FB.Event.subscribe('auth.sessionChange', function(response) {
    if (response.session) {
      // A user has logged in, and a new cookie has been saved
		window.location="<%=FB_CALLBACK_URL%>";
    } else {
      // The user has logged out, and the cookie has been cleared
		window.location="<%=FB_CLOSED_URL%>";
    }
  });
</script>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
fbdoorman-0.7.8 app/views/facebook/_fbjs.html.erb
fbdoorman-0.7.7 app/views/facebook/_fbjs.html.erb
fbdoorman-0.7.6 app/views/facebook/_fbjs.html.erb
fbdoorman-0.7.4 app/views/facebook/_fbjs.html.erb
fbdoorman-0.7.3 app/views/facebook/_fbjs.html.erb
fbdoorman-0.7.2 app/views/facebook/_fbjs.html.erb
fbdoorman-0.7.1 app/views/facebook/_fbjs.html.erb
fbdoorman-0.7.0 app/views/facebook/_fbjs.html.erb
fbdoorman-0.1.0 app/views/facebook/_fbjs.html.erb
fbdoorman-0.0.9 app/views/facebook/_fbjs.html.erb
fbdoorman-0.0.8 app/views/facebook/_fbjs.html.erb
fbdoorman-0.0.7 app/views/facebook/_fbjs.html.erb
fbdoorman-0.0.6 app/views/facebook/_fbjs.html.erb
fbdoorman-0.0.5 app/views/facebook/_fbjs.html.erb
fbdoorman-0.0.4 app/views/facebook/_fbjs.html.erb
fbdoorman-0.0.3 app/views/facebook/_fbjs.html.erb
fbdoorman-0.0.2 app/views/facebook/_fbjs.html.erb
fbdoorman-0.0.1 app/views/facebook/_fbjs.html.erb