CodeIgniter Forums
Mixing Facebook members (thru FB-connect) and Non-facebook members on Social site - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Mixing Facebook members (thru FB-connect) and Non-facebook members on Social site (/showthread.php?tid=48781)



Mixing Facebook members (thru FB-connect) and Non-facebook members on Social site - El Forum - 01-28-2012

[eluser]FutureKing[/eluser]
I have to develop an application in which user can register by filling registration form or by using facebook connect.

This is first time I am developing such type of application. Previously I developed normal registration form based application.

For normal application I design "users" table in this way:

id
username
password
email
status
act_code
registered_on
activated_on
last_login

Now I have to integrate Facebook connect accounts too with this table. What modifications should I make, so that this table can handle both facebook accounts and its own accounts.



Mixing Facebook members (thru FB-connect) and Non-facebook members on Social site - El Forum - 01-28-2012

[eluser]Jan_1[/eluser]
I would put my 'normal userdata' for everybody in the same table. And id_user, id_facebook and date_login in a different one. But I don't know the actual FB-Connnect.