Sunday, January 24, 2010

Handling the API key for a Joomla! CMS module

Greetings,

I have created Joomla! CMS modules to pull pictures from various Twitter-based picture sharing websites (i.e., TweetPhoto, TwitGoo and TwitPic) by parsing the RSS feed to present a single or multiple pictures.

http://www.cdreimer-associates.com/software.html

A user requested a new feature of having a Google Map showing where the pictures are taken. I had verified that I can get the location data by making a specific XML request based on the RSS feed data. I'm in the research stage of how to implement the Google Map itself and I'm confused by the API key usage.

I've read that the API key must be tied to the domain of where the Google Map will be hosted or the application will be downloaded. I also read that I will need to request additional API keys for specific domains (i.e., localhost). What are my options?

1. Will my API key work if the module is hosted on a different domain?

2. Should I have the user get their own API key that they copy and paste into a module parameter field?

I'm leaning towards #2 since the user is running a Joomla! CMS website on their own domain and it's not uncommon in other modules for the user to acquire an API key. I do know that my modules are being used on some European S&M websites. I'm not sure how Google feels about black leather face masks and whips. :)

Thank you,

Chris Reimer

--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate