javascript - Facebook Login - Tell joomla to login -


i'm developing facebook login (fb sdk javascript) joomla site add alternative way register/login.

what i've done are:

  • create fb app

  • insert relevant code site

  • get connected stat fb.login().

  • got basic information: name, email...etc

i got found below function use login in joomla, way require me provide username & password.

$result = jfactory::getapplication()->login(array('username' => $username, 'password' => $password), array('remember' => true)); 

my question is:

after got permission fb, wish login joomla without enter email , password, module/helper/function should use?


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -