8
For xoppser interested, i found an alternative to the iframe code, using xfbml :
First, add facebook SDK javascript allowing to use fbml on your site :
More infos here :
Javascript SDK Facebook <div id="fb-root">div> <script> window.fbAsyncInit = function() { FB.init({appId: '[b]your app id[/b]', status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/[b]en_US[/b]/all.js'; document.getElementById('fb-root').appendChild(e); }()); script>
- If you want to change like by j'aime, modify "en_US" by "fr_FR"
- You also have to complete the code with the id of a facebook application or page (change "your app id")
Next you can insert fbml :
<fb:like>fb:like>
Hope it will be usefull
Regards