Facebook share button large size
<p>Using the facebook recommendations for creating a share button (<a href="https://developers.facebook.com/docs/plugins/share-button" rel="nofollow noreferrer">https://developers.facebook.com/docs/plugins/share-button</a>), I'm actually able to display a simple button.</p>

<p>In the doc, there is a simple attribute (<code>data-size</code>) that can be used to customize the size of the button however it doesn't seem to have any effect when set to <code>large</code>:</p>

<pre><code>&lt;html&gt;
    &lt;head&gt;
        &lt;title&gt;Your Website Title&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;

        &lt;!-- Load Facebook SDK for JavaScript --&gt;
        &lt;div id="fb-root"&gt;&lt;/div&gt;
        &lt;script&gt;(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 = "//connect.facebook.net/en_US/sdk.js#xfbml=1&amp;version=v2.8";
             fjs.parentNode.insertBefore(js, fjs);
         }(document, 'script', 'facebook-jssdk'));&lt;/script&gt;

        &lt;!-- Your share button code --&gt;
        &lt;div class="fb-share-button" data-href="https://developers.facebook.com/docs/plugins/" data-layout="button" data-size="large" data-mobile-iframe="false"&gt;
            &lt;a class="fb-xfbml-parse-ignore" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fplugins%2F&amp;amp;src=sdkpreparse"&gt;
                Share
            &lt;/a&gt;
        &lt;/div&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Note that this code is only a copy/paste from the facebook doc and it even works with the "share button configurator" showing a larger button, so is this option deprecated?</p>

<p>By the way, I know there are plenty of solution to work around the css of the button and I'd like to stay away from this as much as possible.</p>

<p><strong>EDIT:</strong> Seems to work only when logged in to Facebook</p>