FriendsOfSymfony / FOSFacebookBundle

NOT MAINTAINED - see https://github.com/hwi/HWIOAuthBundle
321 stars 140 forks source link

the logout redirect (windows.location.href) not work #177

Open Raulken opened 12 years ago

Raulken commented 12 years ago

when i make login, the page restart when i put logout the page not restart (facebook button) {% extends '::base.html.twig' %}

{% block body %} {{ facebook_initialize({'xfbml': true, 'fbAsyncInit': 'onFbInit();'}) }} {{ facebook_login_button({'autologoutlink': true}) }} {% endblock %}

{% block javascripts %}

{% endblock %}

Raulken commented 12 years ago

the alert('logout') not start

rat4m3n commented 12 years ago

placing your JS functions in base.html.twig (and wrapping it up with Githubissues.

  • Githubissues is a development platform for aggregating issues.