Hot File

How to multiple social login using Facebook, twitter, yahoo, gmail in codeigniter

View: 1741    Dowload: 0   Comment: 0   Post by: hanhga  
Author: none   Category: Codeigniter   Fields: Other

9 point/3 review File has been tested

So you can verify the user simply by using social login through Facebook, twitter, yahoo, gmail etc

Introduction

So you can verify the user simply by using social login through Facebook, twitter, yahoo, gmail etc.

Social login using codeigniter is very easy you just need to do some simple task. First download the file from GitHub link this. 
Now Extract the file and open it

social login in codeigniter

Now open Social-CodeIgniter-for-CodeIgniter3.0.1 and you will see the application folder.

Now download the codeigniter from link

Extract the file and place in the local host and rename with name login. Open the folder and your folder structure will look like this

social login in codeigniter

Now delete the application folder from this folder. Don’t get confused we will copy the application folder in place of this folder from the file we have downloaded from GitHub.

Open Social-CodeIgniter-for-CodeIgniter3.0.1 which you have downloaded from GitHub and you will see the application folder.
 

social login in codeigniter

Copy this folder in the codeigniter folder in place of the application folder you have deleted.

Now open the file route.php inside the config folder and replace

$route['default_controller'] = 'Welcome';

To

$route['default_controller'] = 'hauth';

Now run the url http://localhost/login/

You will see your browser like this
social login in codeigniter

Now create the application on Facebook developer page and activate the application. After creating the application your application will look like this. Follow the instruction marked in red. As you are testing on local host App Domains and Site URL must be local host.

login using facebook api

Now open the config folder and and look for the file name hybridauthlib.php Open this file and copy and paste the Facebook App ID and App Secret in the file

login using facebook API in codeigniter
Now you can do login using Facebook into your website. Hope this tutorial Multiple social login using Facebook, twitter, yahoo, gmail in codeigniter will help you. You can create the API for the rest social login and place the App ID and App Secret in the hybridauthlib.php.

How to multiple social login using Facebook, twitter, yahoo, gmail in codeigniter

How to multiple social login using Facebook, twitter, yahoo, gmail in codeigniter Posted on 08-01-2016  So you can verify the user simply by using social login through Facebook, twitter, yahoo, gmail etc 3/10 1741

Comment:

To comment you must be logged in members.

Files with category

 
Newsletter Email

File suggestion for you

File top downloads

logo codetitle
Codetitle.com - library source code to share, download the file to the community
Copyright © 2015. All rights reserved. codetitle.com Develope by Vinagon .Ltd