Hi,

Exists any way to check if an App Data was Stored?

In example below, I never stored an Orption with "hasUserAnunc".

Like this:

function IsAnunc(){

        var req = opensocial.newDataRequest();
        req.add(req.newFetchPersonAppDataRequest(idspec,
"hasUserAnunc"),"userAnuncData");
        req.send(processIsAnunc);
};

function processIsAnunc(response) {

   var data = response.get("userAnuncData");
      if (data == null){
      }
};

I need this, because I wanna record a option only in the first time
that the Owners App acess.

Sorry about english, I'm Brazilian...

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

Reply via email to