I can show you my gadgets, but for a start, I guess this http://gadget-doc-examples.googlecode.com/svn/trunk/opensocial-gadgets/oauth-contacts.xml example from google shows much better how to work with oauth-proxy from within an igoogle gadget.
It fetches and shows your contacts, but to fetch a calendar, you'd only have to give that gadget your calendar feeds url instead of your contact feeds url. you can find more samples here: http://code.google.com/intl/de/apis/gdata/samples.html The actual adding of events is described here: http://code.google.com/intl/de/apis/calendar/data/2.0/developers_guide_protocol.html#CreatingEvents but it is a description of a language independant protocol, so you should work through the other examples first to see how this protocol is handled in javascript. My own stuff: http://www.ullebambulle.de/gg/gravatars.xml Reads your contacts, the gravatar images and then fails miserably while trying to get the contact images from your contacts :-) (I'd apprecieate any help on that!) http://www.ullebambulle.de/gg/quiznight.xml reads a calendar, lists upcomming events (sundays through tuesday), shows your events guests with their response status, and is (as far as I know) the only possible solution if you want to change your guests response status manually. (you need to fill in your calendar id and set "token" to "oauth" for that to work - else another, easier method of authentication is used which only gives read-only-access) Have fun! On 10 Feb., 02:41, jazKular <[email protected]> wrote: > On Feb 9, 4:43 pm, bickerdyke <[email protected]> wrote: > > My gagdet is running inside the iGoogle-container. > > > For a single event, yes. It's easy to program, the user gets a chance > > to check everything, perhaps enter a additional note or an extended > > title, and google would have handled all the access rights. > > Is there anyway you can show me how this can be done via coding? Sorry > I am very new to this! =) > > > I could show you my sample gadgets that use oauth for read and write > > access to the guest lists of events or that diaplays contact > > information from the users adressbook. (tahst based on the official > > oauth-proxa example) but as these were my first steps into that field, > > they are poorly documented. > > I would be extremely grateful if you could show me that. > > Thank you -- You received this message because you are subscribed to the Google Groups "iGoogle 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/Google-Gadgets-API?hl=en.
