As in unique users? The answer is yes, but it's not that easy - you'll
need to store the id of everyone who has used the app.

Since persistent data only stores strings, you might want to look at
JSON serialisation; http://www.json.org/json2.js

However, as I've said elsewhere, we need to know what limits there are
on persistent data before relying on it for a long term solution.
Otherwise, you'd need to rely on some server-side code.

On Nov 4, 6:58 pm, timROGERS <[EMAIL PROTECTED]> wrote:
> Thank you. Would it be possible implement this to show the number of
> users that had used an Application? I'm trying to make mine (see
> Discussions) and I'd like to count hits altogether.
>
> On Nov 4, 7:55 am, James <[EMAIL PROTECTED]> wrote:
>
> > In case anyone would like some source code of an app working on
> > OpenSocial, I've built a profile view counter that uses several of the
> > JavaScript 
> > APIs;http://open-counter.googlecode.com/files/OpenSocial_Profile_Counter.xml
>
> > You can see it running 
> > here;http://sandbox.orkut.com/Profile.aspx?uid=13978654649079227264
>
> > There are some concurrency issues that I've talked about 
> > here;http://groups.google.com/group/opensocial-api/browse_thread/thread/66...
>
> > It works fine on Orkut sandbox (with the exception of settings not
> > saving correctly - Orkut's fault I believe). It doesn't seem to be
> > working on Ning (I think their persistent data is broken).
>
> > I haven't written any separate code the for profile page since I
> > haven't found anything in the API which shows you how to detect this.
>
> > Hope this is useful to a few people struggling with the basics.
>
> > Cheers,
> > James


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to