Hi Minhao,

Yes, you're right, I ran into the same issue. I'll file a bug and
update you when I find a solution.

~Prashant

On Mar 11, 1:02 pm, Minhao <no7...@gmail.com> wrote:
> Hi there,
>
> I am facing a strange problem:
>
> when I try to create an activity, I constantly get some error saying:
>
> "forbidden: Create activity permission denied."
>
> My codes look like:
>
>     var params = {};
>     params[opensocial.Activity.Field.TITLE] = feed_title;
>     params[opensocial.Activity.Field.BODY] = feed_content;
>     var activity = opensocial.newActivity(params);
>
>     alert(opensocial.hasPermission(opensocial.Permission.VIEWER));
>
>     opensocial.requestCreateActivity(activity,
> opensocial.CreateActivityPriority.LOW,
>         function(responseStatus)
>         {
>             if(responseStatus.hadError())
>             {
>                 alert(responseStatus.getErrorMessage());
>             }
>             else
>             {
>                 // publishing success
>             }
>         }
>     );
>
> More weird is that checking opensocial.hasPermission() tells me
> "true".
>
> I could recall that this function actually did work for me a few days
> back. So am wondering if anyone is facing the same kind of problem?
> Maybe this could be due to the new safety change? If so, could anybody
> kindly prompt how I can publish a new feed in sandbox now?
>
> I really appreciate your time and look forward to any reply.
>
> Regards,
> Minhao

-- 
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-or...@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.

Reply via email to