i have a google map api key which is working in my website but the same api key is not working in my facebook iframe based application showing the error that the api key is not valid and please generate another api key while the api key is same in both places in website and in facebook iframe application..
what problem it may be ?
This article in GMaps’ FAQ may be relevant:
From similar experiences, I’m guessing that your FB app runs under a different domain name, and thus will need a different API key; or, you may need to generate an API key for your entire domain, not just for the page with the map.
To quote the FAQ again:
There’s even a simple troubleshooting step recommended: