I'm not very good with these coins. I believe it's Chinese perhaps? Yes, it is my coin. No, I didn't get it in a fortune cookie. Yes, it is rectangular and possibly made of metal.
I believe your first picture is upside down. Google image search shows it is a coin from JAPAN 1853-65 JAPAN Silver SHU (Isshu Gin)