I am using social-engine as Social-networking website and at same time we are having another website done in php CodeIngiter MVC. Now we want to integrate Social-engine with our website. We are using Social-engine DB only for our php website.
When we log into our website it should be automatically logged into Social-engine also. I don't know where to start from? Is there anyway to do it?
Probably you should create custom login action (default login action is in application/modules/User/controllers/AuthController.php) and launch it using AJAX, but this way is not too good because you might get unpredictable problems with session or something else. Better way is to create login action which will be launched by user. User will click button (like facebook or twitter login buttons) and launch custom login action using data from your php website, where he is already logged in.
I will suggest you to create some API for the socialengine login and also in your php website. That way , it shall help you.
For, our mobile native application for one client, We used that approach and its working fine.