Discussion on One-Click Social Login in CodeIgniter 3.X


techindustan supports this item


This author's response time can be up to 1 business day.

20 comments found.

Great job. How to integrate this in hmvc structure and existing email login?

Thanks mate! Yes, you can integrate this in HMVC structure with existing email login. You just need to copy and paste the files as per the description OR steps given in readme file.

This way, you just need to change your existing view and you will be good to go. Let us know if you need any support in implementing it.

Thanks :)

hi, have you document describe all for setup sign in ?


Yes! It describes all the steps. If you may have any issue, just drop us an email and we will help you out :)


To store all the values in the backend, you just need to call model functions in codeigniter because you will have all the values in session. We are just an email away if you may need any help.


If you need backend support then we can do that for you for your amenities :)

can you add vk.com?


Yes, we can add it too but that’s on demand.


How do i do the database part of this code i see there is code for it put it dint seem to work can you help with this.


Yes, we can help you with that too. Let us know your Skype ID and we can add you right away to guide you through :)

Thanks, Sam


I have purchased this login data. I just waana know that what does 6 months support means. is it valid only for 6 months like that

Hi Abhishek,

You got it wrong. Support means that if you need any of our help to make you understand about the plugin then we are here. If you will ask for support after 6 months then it won’t be considered free of cost.

Thanks, Sam

Hello Sir,

I have applied the login plugin on my localhost project, and trying to login with gmail, there comes error. can you please help me what should i do for google login process so that it works properly, with database.


Hi Abhishek,

We have received your email and have CC’ed our tech lead. she has already shared her Skype ID with you on email. Please check that and she will assist you.

Thanks, Sam


kutlus Purchased

Severity: Notice Message: Undefined variable: oauth Filename: twitter/twitteroauth.php Line Number: 79 Backtrace:

File: /home/moviesalike/public_html/application/libraries/twitter/twitteroauth.php Line: 79 Function: _error_handler

File: /home/moviesalike/public_html/application/libraries/Twitter.php Line: 72 Function: getRequestToken

File: /home/moviesalike/public_html/application/core/MY_Controller.php Line: 137 Function: twitterlogin

File: /home/moviesalike/public_html/application/controllers/Login.php Line: 22 Function: social_login

File: /home/moviesalike/public_html/index.php Line: 315 Function: require_once

what can be the problem

Hi Kutlus,

It seems like you have added the files in wrong way. I’ll have our technical lead to check it with you. Can you please email your Skype ID so we can get in touch with you tomorrow morning?

Thanks, Sam


kutlus Purchased

Sorry for the late answer.. I have managed to use facebook and google and disabled twitter for now.. I will keep in touch if further help needed thank you..

Sure mate!

I’m getting the following error messages:

Message: Undefined index: oauth_token

Filename: twitter/twitteroauth.php

Message: Undefined index: oauth_token_secret

Filename: twitter/twitteroauth.php

The user guide says “add api credentials for Twitter : in ./application/core/My_Controller.php

But the “my_controller.php” as no variable placeholders for the Twitter API credentials?

Found these variables in /libraries/Twitter.php, but still get the error message.

Please advice.

Please share your Skype ID and we can help you forthwith.

Request sent! Please check your Skype.

How do you store the the email address in the database when a user signs up with twitter?

You app must have permissions to retrieve user’s email.

Go to https://support.twitter.com/forms/platform

Select “I need access to special permissions”

Enter Application Name and ID. These can be obtained via https://apps.twitter.com/—the application ID is the numeric part in the browser’s address bar after you click your app.

Permissions Request: “Email address”

Submit & wait for response

After your request is granted, an addition permission setting is added in your twitter app’s “Permission” section. Go to “Additional Permissions” and just tick the checkbox for “Request email addresses from users”.

I recently download the code and found a mistake in the line 446 of “base_facebook.php”, It says $user_access_token = $this->getUserccessToken(); and it would be $user_access_token = $this->getUserAccessToken();

Its fixed in latest update :) Thanks for letting us know.


I am getting the following errors :

An uncaught Exception was encountered

Type: Google_Auth_Exception

Message: Error fetching OAuth2 access token, message: ‘invalid_grant’

Filename: /opt/lampp/htdocs/Instarefr/application/libraries/Google/Auth/OAuth2.php

Line Number: 125


File: /opt/lampp/htdocs/Instarefr/application/libraries/Google/Client.php Line: 128 Function: authenticate

File: /opt/lampp/htdocs/Instarefr/application/libraries/Google.php Line: 53 Function: authenticate

File: /opt/lampp/htdocs/Instarefr/application/core/MY_Controller.php Line: 83 Function: googlelog

File: /opt/lampp/htdocs/Instarefr/application/controllers/Login.php Line: 22 Function: social_login

File: /opt/lampp/htdocs/Instarefr/index.php Line: 315 Function: require_once

Please advice me asap

Yes and that issue was because of session, it’s resolved now, Thanks :) , I want to know that why am i not getting all details when I use Facebook login?

What do you want to get from Facebook login? You may need to updated your app permissions to get more user fields.

I have updated my app permission but still not getting email address, I have sent you request on Skype , Please accept and let me know solution.

Hello, I bought your code, I like to know if you can setup up for me on my page and what would you charge?

The site is in codeigniter

Thank you

Hi there,

Thanks for your purchase. Yes, we can set it up for you on your page. Please add us on Skype for further process.

Skype: techindustan.solutions

Looking forward to talk to you.

Thanks, Sam

Hello, I do not use SKYPE issues with my MAC

Have sent you an email. Please check and let us know.

Hi , Great job will buy

are it working fine with ion_auth lib ?

Best Regards

Hi there,

We can help you with ion_auth lib. Let us know if you need any assistance.

You can also drop us an email at sales@techindustan.com

Thanks, Sam

Great work

i have the same issue like @damini_jaiswal

I have updated my app permission but still not getting email address, I have sent you request on Skype , Please accept and let me know solution.
please help how to fix this ?

Please drop your message on Skype.


Is it possible to deploy “One-Click Social Login in CodeIgniter 3.X” on my website (website created with html5, css3, php, mysql, etc.)?

Are there any examples of this in the package?


Yes, it is possible. Please contact us on Skype for further assistance. Skype: techindustan.solutions


why i cannot do anything inside sociallogin. I test with my localhost it can show the homepage. but when Uploading to host www.3lottobet.com . It shows nothing How to solve this ploblem


i have only line id

line id : tjking2514


I am not able to login with facebook, it is always sending user 0.

It is asking for login password and return on redirect url with code into query string, but user is 0.

This happens from last week, before few days it was working properly.

How can this issue will resolved.

Waiting for your return?

Hi , we are unable to get the data from Facebook. While we try to login through Facebook it’s returning empty data …. Please tell me what’s the problem with code…. And what Facebook API version you are using in this plugin …

Hello Author , the plugin not working at all… we are not aware where to use the keys of the socilal networking sites (like facebook google plus and etc.. ) please specify where to config the social secrets