Support » Plugin: Widget for Social Page Feeds » How to add option to enable message to fanpage box? And one tip for performance!

  • Resolved matrixpoland


    Hi. Can you add option to message to fanpage in likebox? It only have like + share but 3rd important button is to message. Thanks!

    As for my tip.

    Ive tested your plugin with some asset manager.

    With it i disabled almost all files regarding to likebox – these are css and js files.

    I only leave cookies script + one more css i think style script because if we disable it we have large loading likebox animation plugin and it breaks widget.

    But with disabling all those files with asset manager we have 200kb less weight for this plugin and fewer http requests.

    What i think about is chaching this plugin – like box, share, message, custom title, backcround image or logo – this all can be cached.

    Only number of likes can’t be cashed.

    Then maybe you can implement his? It would help with performance because facebook likebox is large – 500kb and many many requests. Especially slow on mobile phones.

    You may see this testing my link on google insights.

    Or… maybe you can add option to defer/load last likebox?

    This may help or something similar:

    <div id=”fb_root”></div>
    <script>(function(d, s, id){
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); = id;
    js.src = “//”;
    }(document, ‘script’, ‘facebook-jssdk’));</script>

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • matrixpoland


    My apologies. When we are not logged in share button is visible but when we are logged in then share button dissapers and its replaced by send message.

    This is not comfortable because we want to share and message as logged in users

    As for performance – insights and gmetrix shows that your widget have disabled text compression (gzip, brotli)

    Plugin Author Milap



    I can not do anything regarding Share button behavior, as I have no control over data comes from Facebook API.

    Regarding gmetrix insight, I will check if I can enable text compression for my plugin.


Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.