Facebook Shortcode for the Facepile


I am trying to achieve the following widget screenshot capability via shortcode OR php.

Is there a shortcode or php function to achieve this with the Ultimate Facebook plugin?

Please see attached.



  • aecnu
    • WP Unicorn

    Greetings Johnny,

    Currently there is no way through shortcode or a template function, but you can just use the regular Facebook facepile: http://developers.facebook.com/docs/reference/plugins/facepile/

    The only thing is, you shouldn't include JS from Facebook, or div id="fb-root"

    So, therefore for e.g. HTML5 version, when you click the "get code" button you can just skip the step 1 (that's what UFb already adds by default) and just paste in the code from step 2.

    For XFBML version, skip steps 1&2, and onto step 3

    Basically, just skip any Facebook bootstrapping, plugin already does that.

    Cheers, Joe

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.