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]&amp;send=false&amp;layout=button_count&amp;width=100&amp;show_faces=false&amp;font&amp;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:

enter image description here

However, after you clicked it, it will say "Error" in red:

enter image description here

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.)

enter image description here

Any idea on how to fix this?

Edit
Report