Seeing a viewCreated 3 years ago by minkyov
I have been doing a website and I need to create a facebook login but in order for it to work there needs to be a php file with the view and everything that I will need to place on the view. So far all of my views are in modules and with .twig extensions and routing to them and from them to assets like css and script files is working but I cannot write php code inside and I badly need this view to work. The idea behind it is: A user logs in with facebook and get redirected to this page where with the Facebook PHP SDK the user sees data that is taken from facebok. Am I doing something wrong? Is there a better way to go about this problem? What can you suggest? Thank you!