Is it possible to use a Facebook Face Pile pointing to an APP-ID instead of a HREF through the JavaScript API? For example, what would the JavaScript equivalent of the iFrame code:
<iframe src="http://www.facebook.com/plugins/facepile.php?app_id=120600291315567"
style="border:none; overflow:hidden; width:300px; height: 70px">
</iframe>
To show how many friends are using your website/app, just use the HTML5 example generated at https://developers.facebook.com/docs/reference/plugins/facepile/ and then remove the
data-hrefattribute. Example:The
data-hrefattribute signifies that you want to show how many people have liked that specific URL instead.