Adds the Facebook like button on your desired pages.
Getting Started
- Create an application on https://developers.facebook.com/
- Copy the App Id.
- Add the Likebutton component to your page.
- Click on the added component and paste the App Id.
- There are many different settings you can make and all of them are explained accordingly on the component settings. Make sure the URL you enter is absolute, you don't have to encode it, as it's encoded by the plugin.
Components
Likebutton has a component named after itself Likebutton Many of the properties the component has are self-explanatory bu there are some exceptions:
-
Locale. You can change the internationalization. You just have to enter the proper country codes. They can be found here: https://www.facebook.com/translations/FacebookLocales.xml
-
Faces cannot be enabled on child-directed sites. Read: https://developers.facebook.com/docs/plugins/restrictions/
To use the component you choose the page and then add the component using the Component tag:
{% component 'likeButton' %}
Question: "When I click 'Like' I have this red text saying 'Error'? Answer: Yes. The plugin does not work locally. But will when you deploy. It's nothing about the plugin that does that, but it's Facebook call.
1.0.0 |
First version May 18, 2014 |
---|