Closed ghost closed 10 years ago
I already had this one, did you check if your facebook user as ADMIN/TEST role in facebook dashboard? If you don't find any solution on this one, it should be your security.yml . In this case you should check the LiipHelloBundle which implement facebook auth or read the doc again ;)
Yes, I am registrated as admin in the developer roles of the facebook app. And I have compared my code to the documentation already multiple times, but it will not work.
When I access the website tested locally from another computer in my local network, the login button changes to a logout button after the popup window closes! However, when I then try to access the /path path, which is under access control, I am redirected to the login page and the following error message is shown: "The Facebook user could not be retrieved from the session." Additionally, no user is created in the database by my facebook user provider.
@overthesun I don't have enough informations to help you, again it happened with me and I restart all the conf. again and it worked. Sry...
I have exactly the same problem. I really can't understand the source of that problem.
I am sorry to reply so late. Somehow it worked for me in Google Chrome but not in Mozilla Firefox. As it had been only a prototype, this workaround satisfied my needs. So I did not investigate the problem further and I did not update to the versions of Symfony and FOSFacebookBundle released later on.
Hello,
I have followed the basic usage documentation, but there is something wrong with the login. When I click on the login button, I select Login with Facebook in the popup window which closes, but nothing more happens. Do you have any idea what could be the cause? Here is my code:
routing.yml
SplashController.php
config.yml
paramters.yml
security.yml
FacebookProvider.php
index.html.twig