I am Implementing Facebook Login in my Laravel Project. for this I have used Facebook JS code. Its working fine I receiving data also. Now i want to save data in my database and login with this inserted id. for this I have created a function called "checkloginByFacebook_API" in a controller and put below code also
$this->middleware('auth', ['except' => ['checkloginByFacebook_API']]);
now I am using below method
$auth_data = Auth::loginUsingId(1);
here it print $auth _data array but if i change page it don't show.
pls help me
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/28Z3C0z
via IFTTT
Aucun commentaire:
Enregistrer un commentaire