On Fri, 2009-07-10 at 22:47 +0200, Johan Euphrosine wrote:
> Hi,
> 
> I finally managed to make it work, I was confusing the calling
> convention of two opensocial API functions:
> http://wiki.opensocial.org/index.php?title=Opensocial.DataRequest_(v0.8)#newFetchPeopleRequest
> http://wiki.opensocial.org/index.php?title=Opensocial.DataRequest_(v0.8)#newFetchPersonRequest
> 
> I updated jpoker-opensocial.xml:
> Each player name background is colored according to their gender.
> http://upstream.jspoker.pokersource.info/raw-file/tip/jpoker-opensocial.xml
> 
> Please note the current limitation, player.serial are not matching
> partuza userId yet, they are hardcoded inside the gadget:
> var user2id = {"dachary": "1", "proppy": "2", "proppy2": "3"};

Hi, 

Now the jpoker gadjet displays the lobby and the game when clicking on a
table list row.

I added makeRequest error handling, and fixed a bug that is triggered in
printStacktrace when doing a cross domain XHR for fetching sources.
http://upstream.jspoker.pokersource.info/rev/49ba63b46468

Please not than a proper implementation would need:
- testing
- implementation of https://gna.org/task/?6656 to refresh table action

You can include the gadget from:
http://jspoker.pokersource.info/work/jpoker-opensocial.xml
-- 
Johan Euphrosine <[email protected]>

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to