Open nandor-poka opened 5 years ago
Can I ask for some help with what exactly to start with authentication?
https://github.com/thephpleague/oauth2-facebook this here is a ready-to-use package to be used with the library we linked in the original description.
Also worth reading this guide to understand how the FB provider works https://github.com/thephpleague/oauth2-client/blob/master/README.PROVIDER-GUIDE.md
Composer docs: https://getcomposer.org/doc/01-basic-usage.md#autoloading
General collection of 'scopes' we can ask permission to from a user (go down to the user data section): https://developers.facebook.com/docs/facebook-login/permissions/ and the list of public by default attributes: https://developers.facebook.com/docs/facebook-login/permissions/#reference-default
Postponed.
This ticket is to make a simple and easy example of working with oauth2 in PHP. use the https://github.com/thephpleague/oauth2-client. The library has pre-set for FB (and other providers) Estimate: 8h