[orkut-developer] Re: Activity Stream code

2008-06-04 Thread sharath
Hi Rohit, Its working fine. Thanks Sharath On Jun 4, 7:55 pm, "Rohit Ghatol" <[EMAIL PROTECTED]> wrote: > Hi Sharath, > I tried the code snippet below, which has a hyperlink in the body as you > mentioned and this also worked for me. Ofcouse I used CodeRunner to test > this. > > I could see the

[orkut-developer] Re: Activity Stream code

2008-06-04 Thread Rohit Ghatol
Hi Sharath, I tried the code snippet below, which has a hyperlink in the body as you mentioned and this also worked for me. Ofcouse I used CodeRunner to test this. I could see the hyperlink coming up in the updates section properly. Here the code snippet I tried- function createActivity() { var

[orkut-developer] Re: Activity Stream code

2008-06-04 Thread sharath
Hi, Its working fine but I am trying to use hyperlink in the body as below Body which is not working. Could you let me know the way to give the hyperlink.? Thanks and Regards Sharath On Jun 4, 1:00 pm, "Rohit Ghatol (Google)" <[EMAIL PROTECTED]> wrote: > Hi, > The only error I was in your code

[orkut-developer] Re: Activity Stream code

2008-06-04 Thread Rohit Ghatol (Google)
Hi, The only error I was in your code was missing declaration of activity_params. It worked fine for me in Code Runner. Here is my version of the code that ran in Code Runner function createActivity() { var title= ''; title = ', Title '; alert(1); var activity_params={}; activity_params[opensoci

[orkut-developer] Re: Activity Stream code

2008-06-03 Thread sharath
Hi, I tried adding this line below the title code, its not working. Now the code is as below: function createActivity() { var title= ''; title = ', Title '; alert(1); activity_params[opensocial.Activity.Field.TITLE] = title; activity_params[opensocial.Activity.Field.BODY] = "BodyHello World"; v

[orkut-developer] Re: Activity Stream code

2008-06-03 Thread Rohit Ghatol
Hi, The only line of code you would need to add is the following - activity_params[opensocial.Activity.Field.BODY] = "BodyHello World"; Also, the hyper link to the application automatically appears in the updates section of Orkut, you don't need to explicitly put it. Hope this helps. Best, Roh