@eduardorochab - Here viewer is the owner. Opensocial platform should handle such js error. Looks like some other issue ...
please help On Apr 1, 8:07 am, eduardorochabr <eduardoroch...@gmail.com> wrote: > Maybe that's because you're trying to create an activity when the > viewer is not the owner (which I think you cannot)? > > On 31 mar, 16:11, Abhijit <coolabhi...@gmail.com> wrote: > > > I am getting following javascript exception while creating one > > activity. > > > I am using opensocial 0.7 > > > ------------------- > > this.o has no properties > > run(function())common051.js (line 211) > > t_ti(Object)common051.js (line 215) > > t_Hi("{"title":"aaa..Vikas Minda is now spying on abhijit ` in Next-is- > > This application!","mediaItems":[]}")common051.js (line 214) > > S(Object s=create_activity f=shailesh joshi @blr c=0 a=[1] t=0)rpc.js > > (line 155) > > receive(["..", "shailesh%20joshi...@blr@4", "1", 2 more...])rpc.js > > (line 259) > > [Break on this error] t_Fi[t_].run=function(a){var > > b=this.o.app_id;this.S=a;var c=["title="+t_ca(this.... > > ------------------ > > > Here is my code > > > try { > > var params = {}; > > params[opensocial.Activity.Field.TITLE] = viewer.getDisplayName() > > + " is now spying on " + resp.name + ' in Next-is-This application!'; > > var activity = opensocial.newActivity(params); > > opensocial.requestCreateActivity(activity, > > opensocial.CreateActivityPriority.HIGH, onSendNotification); > > } catch (err) { } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@googlegroups.com To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---