php - codeigniter add facebook as registration option -


i'm working on online store website own registration procedure. users register on site selecting unique username , password along email address. im looking integrate facebook registration option site well. have questions following:

  1. how keep facebook registration process compatible existing one. instance need following registration data in either case. if person clicks facebook login button, how capture additional information? in case user denies me permission, how request again if needed functionality?
    • first , last names
    • registered email address
    • a unique username
    • full date of birth
  2. what if user, has native website registration, tries login facebook? should done in case?
    • should new account created , linked native account?
    • should native account converted facebook account?
  3. ive tried hunt lot tutorials demos cant find ones. if knows of tutorial / demo, please enlighten me. im looking tutorials / demo that:
    • can deployed locally testing.
    • demonstrates native registration + facebook registration
    • built on top of codeigniter.

asim

first of all, got create facebook app, google how create one, , long perceive don't think allowed register user on facebook. once create app @ facebook, , per permission provided facebook app, once authorized user, can extract details of user.

for second answer, don't have switch account, create field facebook email id so, have check 2 conditions login. can "sign facebook" while user registration.

for codeigniter facebook integration, check following a3m auth module,

a3m – codeigniter account authentication & authorization module installation


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -