Facepile
The Facepile plugin displays the Facebook profile photos of people who have connected with your Facebook page or app.
Settings
The configurator above doesn't include all of the possible settings for your Like button. You can also change the following settings:
Setting | HTML5 Attribute | Description | Default |
---|---|---|---|
action | data-action | An Open Graph action type, such as like orcustomapp:run . | "like" |
app_id | data-app-id | Specify this if you want the plugin to display users who have connected to your site using Facebook Login. If you are using the JavaScript SDK, this will be automatically specified. | None |
colorscheme | data-colorscheme | The color scheme used by the plugin. Can be "light" or "dark". | light |
href | data-href | Display photos of the people who have liked this absolute URL. | None |
max_rows | data-max-rows | The maximum number of rows of faces to display. Note that if there are fewer faces to display than rows specified, the plugin will pick the next lowest number of rows. | 1 |
size | data-size | Controls the size of the photos shown in the plugin. Can be "small", "medium" or "large". | medium |
width | data-width | The width of the plugin in pixels, minimum of200 . | 300 |
FAQ
My plugin isn't displaying anything
The plugin only displays friends photos. If the person viewing the plugin does not have friends who have liked your page or have connected to your site, no faces will be shown.
If you are displaying people who have liked your page, and nobody has liked it yet, the plugin will render nothing. If some people have liked your page, but none of the viewing person's friends have liked it, the plugin will display the total number of people who have liked your page.
If you are displaying people who have connected to your site, and none of the viewing person's friends have connected yet, the plugin will render nothing.
No comments:
Post a Comment