I have implemented a simple Facebook "Like" button in my extension. However, it does not appear to be working.
I am using the iframe
version of the "Like" button just because I won't need any extra scripts.
<iframe src="//www.facebook.com/plugins/like.php?href=[dummy_text]&send=false&layout=button_count&width=100&show_faces=false&font&blah..." scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe>
At first, the button does show up nicely and correctly:
However, after you clicked it, it will say "Error" in red:
So I am thinking maybe it is because of the (kind of stupid and) restricted policies added in manifest version 2?; since it works if I put it on a regular webpage. (It says "Confirm" after I click the like button.)
Any idea on how to fix this?