you can get the userid of the person when the application loads by making a signed request to your server. the person's id automatically comes as opensocial_viewer_id to your server. but you will have to hit the server again and again to check if he is still online or not. one more thing the user id as obtained above!= uid that's visible on orkut profile urls.Thanks ~@@[EMAIL PROTECTED] http://aakash-bapna.blogspot.com
Date: Thu, 26 Jun 2008 00:11:19 +0530From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [OpenSocial] Re: to help in orkut app developmentwhenever the application gets loaded in the user page it will communicate with the application server,why cant we grab the uid of that user at that time,so that we can detect that user is online? On Wed, Jun 25, 2008 at 11:57 PM, Raghavan K.L <[EMAIL PROTECTED]> wrote: thank u chris,you have given me a good solution On Wed, Jun 25, 2008 at 11:52 PM, Chris Chabot <[EMAIL PROTECTED]> wrote: http://groups.google.com/group/opensocial-and-gadgets-spec/browse_thread/thread/94b6caabc80fc4d0 this bit: - The person object has added additional fields and filters: a more structured lookingFor field, a new hasApp field, and a new networkPresence field. An ability to filter people by the new top friends filter or the isFriendsWithFilter was introduced. Developers can use the latter to query for all people who are friends of the owner and viewer. So you could get (owner/viewer) friends with the hasApp filter, specify to include the person networkPresence field, and iterate through the result set .. anyone in that list that is not OFFLINE, is online and has your app. However this is all 0.8 stuff though, so you have to wait a bit if you really want to use that :) -- Chris On Jun 25, 2008, at 8:18 PM, Raghavan K.L wrote: thanks Aakash for the reply,Is there any way to check a person who has added my application is online/offline On Wed, Jun 25, 2008 at 11:43 PM, Aakash Bapna <[EMAIL PROTECTED]> wrote: Not possible..however, apps can only be viewed when the user is logged in.No way to check the "logged in" status of persons by his person id.Thanks ~@@[EMAIL PROTECTED] http://aakash-bapna.blogspot.com > Date: Wed, 25 Jun 2008 11:09:15 -0700> Subject: [OpenSocial] Re: to help in > orkut app development> From: [EMAIL PROTECTED] > To: [email protected]> > > is it possible to trace whether a person has logged into orkut or not> with> > his uid> > On Jun 25, 12:59 pm, "Raghavan K.L" <[EMAIL PROTECTED]> wrote:> > > thanks rajiv for your reply,> > is it possible to trace whether a person has > logged into orkut or not with> > his uid> >> > On Wed, Jun 25, 2008 at 1:23 > PM, Rajiv Renganathan <[EMAIL PROTECTED]>> > wrote:> >> >> >> >> >> > > Hi,> > >> > > you can get target attribute of your anchor tag to _PARENT.> >> > > > Cheers!> > > Rajiv> >> > > My App: Flaunt It!> >> > > On Wed, Jun 25, 2008 at > 3:52 PM, raghav <[EMAIL PROTECTED]> wrote:> >> > >> Thanks rajesh for the > reply,> > >> But my problem is to add to an external url in my application > for> > >> example"www.raghav.com",i have done it just with simple href> > >> > syntax,now i want to open that url in a new window not in the canvas> > >> > view..> >> > >> On Jun 25, 11:42 am, "rajesh sinha" <[EMAIL PROTECTED]> > wrote:> > >> > Click on Edit button on App, there you will get the option > Add> > >> Application> > >> > on your right. CLick on that. the you will get > the list of applications.> > >> > Goto the bottom most portion, There you > will find a option like "Submit> > >> your> > >> > OpenSocial application to > this directory> > >> > here<http://www.orkut.co.in/AppDirectorySubmit.aspx>.> > > >> > "> > >> > Click on that. After that a new window opens where you can > put the> > >> > applications URL and add that application. As Simple as that> > >> > >> > On Wed, Jun 25, 2008 at 11:34 AM, Raghavan K.L <[EMAIL PROTECTED]>> > > >> wrote:> > >> > > i want to know how to add an url link in my app...> >> > > >> > > On Wed, Jun 25, 2008 at 11:30 AM, raghav <[EMAIL PROTECTED]> wrote:> > >> > >> > >> Raghavan> > >> > > >>http://sandbox.orkut.com/Profile.aspx?uid=5781125612365787336> >> > >> > > > --> > >> > > Thanks and regards,> > >> > > raghavan.k.l> > >> > > > 09845342569> >> > >> > --> > >> > - Cheers> > >> > Rajesh Sinha> >> > > --> > >> > > > -------------------------------------------------------------------------------------------------> > > > DealSearchMaadi.com > Searching over 12 websites for shopping deals > across> > > India.> >> > > > -------------------------------------------------------------------------------------------------> > >> > --> > Thanks and regards,> > raghavan.k.l> > 09845342569> -- Thanks and > regards,raghavan.k.l09845342569-- Thanks and regards,raghavan.k.l09845342569 -- Thanks and regards,raghavan.k.l09845342569_________________________________________________________________ Do more with your photos with Windows Live Photo Gallery. http://www.windowslive.com/share.html?ocid=TXT_TAGLM_Wave2_photos_022008 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" 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 -~----------~----~----~----~------~----~------~--~---
