Hi all,

The following code fails to generate Activiy in IE. But it works fine
with Mozilla & Google chrome.
When this code is run, IE doesnt give any prompt to post updates :(

Any workaround?


 function onActivityPosted(data) {
  if (data.hadError()) {
    alert("There was a problem: " + data.getErrorMessage());
  } else {
    output("The activity was posted successfully.");
  }
};

function postActivity(title, body) {
  var data = {};
  data[opensocial.Activity.Field.TITLE] = title;
  data[opensocial.Activity.Field.BODY] = body;
  var activity = opensocial.newActivity(data);
  opensocial.requestCreateActivity(
      activity,
      opensocial.CreateActivityPriority.HIGH,
      onActivityPosted
  );
};

postActivity("This is a sample activity", "This is an activity body");



------------------------------------------------------------------------------------------------------

On Apr 4, 10:33 am, Apurv Gupta <[email protected]> wrote:
> Seems like a (another) bug introduced in the backend. Will be fixing it.
>
> On Sat, Apr 4, 2009 at 9:44 AM, davew <[email protected]> wrote:
>
> > Hi Apurv,
>
> > Are images in activities working?  I'm seeing activity text strings
> > being posted for buddypoke, but there are no images..  Did something
> > change recently?
>
> > Thanks
>
> > Dave
>
> > On Apr 2, 7:09 pm, Apurv Gupta <[email protected]> wrote:
> > > I just posted a poke [and hence an update, visible in MyUpdates] using
> > > buddypoke. I am using chrome.Check your application?
>
> > > On Fri, Apr 3, 2009 at 2:26 AM, johnson.psgtech
> > > <[email protected]>wrote:
>
> > > > Hi Apurv,
>
> > > > It is working fine with Mozilla but not Google Chrome browser.
>
> > > > Can you please look into this?
>
> > > > Thanks,
> > > > Antony Johnson
>
> > > > On Apr 3, 1:39 am, "[email protected]" <[email protected]> wrote:
> > > > > Hi Apurv,
>
> > > > > Now it seems it is fixed.
>
> > > > > My app works fine ..
>
> > > > > Thanks,
> > > > > Antony Johnson
>
> > > > > On Apr 3, 12:44 am, "[email protected]" <[email protected]> wrote:
>
> > > > > > Hi Apurv,
>
> > > > > > I am still facing this problem.
>
> > > > > > Previously I was atleast getting the Popup by Orkut whether to post
> > or
> > > > > > not when
> > > > > > the activity get generated but now that too stopped coming :(
> > > > > > and also the activities are not posted either.
>
> > > > > > Thanks,
> > > > > > Antony Johnson
>
> > > > > > On Apr 2, 9:23 pm, Apurv Gupta <[email protected]> wrote:
>
> > > > > > > This has been fixed. If you still see it, please report.
>
> > > > > > > On Thu, Apr 2, 2009 at 9:50 PM, alex xander <
> > [email protected]>
> > > > wrote:
> > > > > > > > Good that we now know for sure that its a problem at Orkut's
> > end.
>
> > > > > > > > On Wed, Apr 1, 2009 at 3:23 PM, Vijaya <[email protected]>
> > > > wrote:
>
> > > > > > > >> Thanks for reporting this. We're currently looking into the
> > issue
> > > > and
> > > > > > > >> we will let you know once it's fixed.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" 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-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to