Facebook login |
Hello guys, sorry for the question, which I have already tried immensely on google but I could not make it with any tutorial present. I would like to create a facebook login, but it seems that every tutorial is not fully functional.
Can you give me a guide or a small example of this? I would simply like a login with an obvious system of permissions (if logged in or not). I've tried a lot of guides, but it seems to always miss something or always make a mistake.
I used this library:
https://github.com/facebook/php-graph-sdk/contributors and put it to application/third_party folder usage: 1. I created Facebook.php library in appication/library: PHP Code: class Facebook { 2. In login controller: PHP Code: public function index(){ PHP Code: public function facebookLogin() your facebook configs in applicaton/config/config.php: PHP Code: $config['fb_config'] = array(
Thanks for your help, can you tell me where to upload the facebook sdk? And how to call the folder?
Hi guys, I tried with a library but this error appears. It does not find the class. I inserted the Facebook "Facebook" SDK folder inside the Library. Where am I wrong?
An uncaught Exception was encountered Type: Error Message: Class 'Facebook\Facebook' not found Filename: /home/mhd-01/www.augustani.it/htdocs/application/libraries/Facebook.php Line Number: 65 |
Welcome Guest, Not a member yet? Register Sign In |