On 3月10日, 上午12時58分, cajo_vcambra <[email protected]> wrote:
> Hello,
>
> I'm trying to add participants to the events I'm creating via my web
> app, and it all works well when I use the Java API. The problem is
> when I try to retrieve the participants using the javascript API,
> because only the calendar owner is being returned. Is this the normal
> behavior or am I doing something wrong?
>
> var participants = event.getParticipants();
>
> for( var i = 0; i < participants.length; i++ ) {
> eventHtml.push(event.getParticipants()[i].getEmail());
>
> }
>
> Kind regards,
>
> Carlos Ferreira
If you want to read Participants in javascript api, First you have to
get Authenticating Token.
Otherwise, you did not login, only can read public event.
Participants is a private attribute.
you can read this.
http://code.google.com/intl/zh-TW/apis/calendar/docs/1.0/developers_guide_js.html#Authenticating
Clonn.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" 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/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---