Domanda

I wish to make use of artdarek/oauth-4-laravel to integrate facebook login facilities but I have problems implementing the package.

Everything on the installation guide on github is clear, my challenge comes at the level of making the ::get() and ::post request.

I do not event know how it should look like. Please can some one walk me through with a live demo? I do appreciate.

È stato utile?

Soluzione

I finally got the solution after a long time of struggle.My

::post();

and

::get();

request points to the same function as specified in the doc at github for example:

Route::get('login/facebook', 'AuthController@loginWithFacebook');
Route::post('login/facebook', 'AuthController@loginWithFacebook');

It is clearer now.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top