flickr key

I "ripped" the flickr block to create my custom flickr block and it always tells me that the block has a "Missing Key"; and when I click on the "Missing Key" link all I see is a message stating: "You don't have any keys for <block name>" without any way to add the key. The only change that I made to the existing flickr block was in the javascript, so the xml is verbatim as the original flickr block. Is there anything else that I need to so that I can enter my flickr API key and associate it with this block (for now, I have hard-coded my key in the js itself)?

Thanks,
S

[634 byte] By [Sachin] at [2008-1-4]
# 1

I saw something similar when I created my DebugFlickr block. I don't remember the exact issue, but I didn't get it to work.

An alternative is you can hard code your Flickr key in the Javascript. This is not ideal though because other Mashups using your shared block will be using your key. Unless your block is used by tons of people, this is probably ok for now. Its a short term solution.

DebugFlickrClass.prototype._getFlickrXml = function(method, params)
{
var apikey = "splat in your key here";
var root = environment.getXml("http://www.flickr.com/services/rest/?method="+ method + params +"&api_key="+ apikey, "flickr");

return root;
};

PeterLaird at 2007-10-3 > top of Msdn Tech,Popfly,Popfly Bugs and Suggestions...
# 2
...and you said you already hard coded it in the Javascript. Sorry for the duplication.
PeterLaird at 2007-10-3 > top of Msdn Tech,Popfly,Popfly Bugs and Suggestions...
# 3

Hi Sachin, we do not support ripping blocks that require a Developer Key. There are reasons specific to protecting the keys of block authors from being misused and to respect the licensing terms with the service providers of such blocks, that required us to make this decision.

You may ask why then that we have the "rip" feature available for these blocks. The reason is that some of these blocks are great examples of how to write a block, that will benefit block authors.

ParameshVaidyanathan at 2007-10-3 > top of Msdn Tech,Popfly,Popfly Bugs and Suggestions...
# 4
If you do want to create blocks that require keys and it is a service you or your company run then we would be interesting in partnering and you can mail us at wepopfly.nospam@microsoft.com removing the (.nospam).
AndyS at 2007-10-3 > top of Msdn Tech,Popfly,Popfly Bugs and Suggestions...
# 5
ok, in that case is there any way that I can "extend" an existing block which requires a dev. key?

\S

Sachin at 2007-10-3 > top of Msdn Tech,Popfly,Popfly Bugs and Suggestions...
# 6
Unfortunatley not for much of the reasons above Sad. What were you looking to add to flickr? As we might be able to get it in.
AndyS at 2007-10-3 > top of Msdn Tech,Popfly,Popfly Bugs and Suggestions...
# 7

For now, retrieving a given user's pics based on tag(s).

Thanks,

S

Sachin at 2007-10-3 > top of Msdn Tech,Popfly,Popfly Bugs and Suggestions...