How To Dynamically Load Facebook Like Button?
im building an application which loads some products on main page with search.also after click on each product item after load it'll show small popup and shows like button and com
Solution 1:
All Like Buttons are rendered in iframes. If you use the XFBML approach, Facebook's all.js script finds the <fb:like>
tags on the page and creates an iframe for each one. If you add an <fb:like>
tag after the script has run, you need to run FB.XFBML.parse to process that tag and generate its iframe.
Another option is to append the new Like Button as an iframe. Be sure to uncheck the Send Button option in Facebook's button generator. However, with this approach you lose the Send Button and you only get Comments with a standard layout at least 400px wide.
Post a Comment for "How To Dynamically Load Facebook Like Button?"