8 messages in com.freebase.developersRe: [Developers] Using the Freebase.c...
FromSent OnAttachments
Will MoffatMar 26, 2008 10:06 am 
Alec FlettMar 26, 2008 10:35 am 
brendanMar 26, 2008 10:36 am 
Will MoffatMar 26, 2008 4:13 pm 
John GiannandreaMar 26, 2008 4:25 pm 
Will MoffatMar 26, 2008 4:45 pm 
John GiannandreaMar 26, 2008 7:04 pm 
brendanMar 27, 2008 10:16 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [Developers] Using the Freebase.com client as an IFRAME your own web appActions...
From:Will Moffat (will@metaweb.com)
Date:Mar 26, 2008 4:45:21 pm
List:com.freebase.developers

On 26 Mar 2008, at 18:25, John Giannandrea wrote:

You are trying to share state between two sandboxes (the iframe and the enclosing window) that are trying really hard to not let you share state! I believe there are ugly ways to do this such as appending the parent's url with #<data> or using .swf

True. Hopefully one day there will be a clean way to do this supported by all browsers, but I'm not holding my breath: http://www.whatwg.org/specs/web-apps/current-work/multipage/section-crossDocumentMessages.html#crossDocumentMessages

Assuming you know that the iframe has changed state (closed?)

Yes, if you stick it in a modal dialog that's no problem.

you could do a tiny MQL query to the graph to check the timestamp of the last link written by that user.

I was thinking along those lines, but it seems to be a catch-22 situation. You need access to the 'metaweb-user' cookie to get the user name. regards, --Will