Not working in sandbox :-P
On 27 mar, 20:56, AJ <ankitjinda...@gmail.com> wrote:
> Hi,
>
> Running folllowing simple code is giving "unautorized: Permission
> token validation failed" error.
>
> "
> function postActivity(text) {
> var params = {};
> params[opensocial.Activity.Field.TITLE] = text;
> var activity = opensocial.newActivity(params);
> opensocial.requestCreateActivity(activity,
> opensocial.CreateActivityPriority.HIGH, callback);
>
> };
>
> function callback(data) {
> output(data);
>
> };
>
> postActivity("This is a sample activity, created at " + new Date
> ().toString());
> "
>
> I successfully ran this code few days ago but now its not working.
> Orkut opensocial docs themselves say they have no restriction on
> activity posting in sandbox. Any idea whats wrong?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---