You found a Lookie! (rtw)
Here's what this lookie contains...

The following is a Twitter conversation assembled by @mkennedy.
Here's an interesting conversation between @nikhilk, @SLColinBlair, @RickStrahl, and myself (@mkennedy)
@nikhilk originally referened his conversation here:
http://www.bettween.com/nikhilk/slcolinblair/conversation/3098567
That's an beautiful site, but I brought in some other participants and can add commentary here.
|
What do folks do when building samples that use web services with API keys and require developer to get their key to run sample?
|
| 245 days ago by @nikhilk |
|
Web services should come with sample keys that can be freely distributed with sample apps...
|
| 245 days ago by @nikhilk |
|
@nikhilk Depends on how easy it is to get your own key. For example, getting keys for Bing Maps is easy and something everyone should do
|
| 245 days ago by @SLColinBlair |
|
@SLColinBlair might be easy, but detracts from sample's core purpose. Dev has to get a key, specify the key in config before running.
|
| 245 days ago by @nikhilk |
|
@nikhilk I suppose if it is a service like Bing that has a token system you could supply the dev a token that will work for 6 hours or so
|
| 245 days ago by @SLColinBlair |
|
@SLColinBlair Not sure I get your point. The sample needs to work out of the box whenever it is downloaded.
|
| 245 days ago by @nikhilk |
|
@nikhilk Thinking of a token server on your site that supplies a token to the sample.
|
| 245 days ago by @SLColinBlair |
|
@SLColinBlair really the most straightforward, it-just-works thing is for the service to provide a sample key.
|
| 245 days ago by @nikhilk |
|
@nikhilk Yes, but I doubt that will happen. Too much of a security hole. Hmm, what if the example has a mock service?
|
| 245 days ago by @SLColinBlair |
|
@SLColinBlair what security hole? Service already offers keys! Mock service == mock data, which makes sample less interesting.
|
| 245 days ago by @nikhilk |
|
@nikhilk Security hole in that if everyone is using the same set of sample keys then why have the keys in the first place?
|
| 245 days ago by @SLColinBlair |
|
@SLColinBlair real key is to track usage, monetization of real apps. Sample key is to facilitate experimentation - comes with no SLA for eg.
|
| 245 days ago by @nikhilk |
|
@nikhilk Yes, but how many "cheap" people would just go to production with the globally known test account? That is the service owner's prob
|
| 245 days ago by @SLColinBlair |
|
@nikhilk leave something like string key = "YOUR_KEY_HERE"; and add error checking to help.
|
| 245 days ago by @mkennedy |
|
@SLColinBlair well, if the service offers free keys anyway, then why does it matter?
|
| 245 days ago by @nikhilk |
|
@mkennedy yep ... here are the issues with that: http://twitter.com/nikhilk/statuses/7306078271
|
| 245 days ago by @nikhilk |
|
@nikhilk The service owner can track the free keys usage and find the people who have too high a usage load
|
| 245 days ago by @SLColinBlair |
|
@nikhilk /sample keys/ I wish. Same issue for me (amazon). But wouldn't that completely defeat the purpose for the provider?
|
| 245 days ago by @RickStrahl |
|
@RickStrahl See this discussion I just had: http://is.gd/5K0FM ... I think a good chunk of services could offer this capability if not all.
|
| 245 days ago by @nikhilk |
181 views - last modified Sunday, January 03, 2010
