Support » Plugin: Social Share, Social Login and Social Comments Plugin - Super Socializer » Change FaceBook login button to “Continue with Facebook”

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Heateor Support

    (@heateor)

    For example:

    Ability to show Friend’s Faces
    Include name and profile picture when user is signed into Facebook
    Maximum Rows of Photos
    Change Button text to “continue_with” and “login_with”

    We are keeping this for future releases.
    However, if you want to customize just the login icon, we can help you with it. We will send you the relevant details at your email shortly.

    Hello,
    I too would like to be able to customise the login icon – please can you send me the advice also?
    Thanks in advance,
    Adam

    Thread Starter anik786

    (@anik786)

    I have found a way to do this, but seems a bit hacky:

    
    <script>
        (function(d, s, id) {
            var js, fjs = d.getElementsByTagName(s)[0];
            if (d.getElementById(id)) return;
            js = d.createElement(s); js.id = id;
            js.src = 'https://connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.10&appId=<?php echo $fbAppId ?>';
            fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));
    </script>
    
        <div class="fb-login-button" data-max-rows="2" data-size="large" data-button-type="login_with" data-auto-logout-link="false" data-use-continue-as="true" data-scope="public_profile,email"
             onlogin="theChampAuthUserFB"></div>
    

    The main thing I’m worried about is the onlogin="theChampAuthUserFB part.
    The plugin code isn’t documented and it’s not clear what does what.

    I also wanted to extend window.fbAsyncInit to add a loader, but I can’t because it’s already being used by the plugin.

    It would be nice to improve the plugin JS so that it is easier to extend. Adding things like hooks (both in PHP and JS), API docs, comments etc. would go a LONG way.

    • This reply was modified 3 years, 11 months ago by anik786.
    Plugin Contributor Heateor Support

    (@heateor)

    @anik786,
    Even if you successfully modify the JS, these changes will vanish when you update the plugin next time.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change FaceBook login button to “Continue with Facebook”’ is closed to new replies.