PHP code example of collab / module-facebook-login
1. Go to this page and download the library: Download collab/module-facebook-login library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
collab / module-facebook-login example snippets
xml
<referenceContainer name="DESIRED_CONTAINER_NAME">
<block name="collab.facebooklogin.button"
template="Collab_FacebookLogin::button/fb.phtml"
before="-"
ifconfig="collab_facebooklogin/general/enabled">
<arguments>
<argument name="fb_login_config" xsi:type="object">
Collab\FacebookLogin\ViewModel\FacebookLoginConfig
</argument>
</arguments>
</block>
</referenceContainer>