|
Hello, I have a problem with facebook login.. some novice users complain that they couldn't use facebook login which appears to be caused by the pop-up blocker.. is there a solution to this problem? specially that stackoverflow do not have such problem! |
|
I have figured it out :D the changes apply to 3 files: 1- forum_modules/facebookauth/templates/button.html: replace the whole file with this link:
2- forum_modules/facebookauth/authentication.py: replace the following 2 functions with the new content: def process_authentication_request(self, request): API_KEY = str(settings.FB_API_KEY)
3- forum/views/auth.py line 198: change the cookies object to request object
and do not forget to change the links in the code to your domain and build each file and then restart apache to the changes to take effect :D Great work Fahd. There were a couple of minor details missing which I outlined in my answer below.
(15 Mar, 00:16)
Yaz Sinan
|
|
Thanks Fahd, just a couple of points to complement your post. 1) Make sure you add the following inclusions to forum_modules/facebookauth/authentication.py
2) Make sure you add the following inclusion to forum_modules/facebookauth/templates/button.html
3) For forum/views/auth.py, I just changed
to
I'm not entirely sure what Fahd recommended on this last code change, but this is what worked for me. |
@Fahd, all meta.osqa.net postings are required to have a clear, specific question in their title field. Please correct the title of this posting right away. Thanks.
hope its clearer now :)