title: How to post event to particular google calendar using feed URL
body: <p>I am trying to post an event to a particular google calendar.
  I am using the following URL to post the event:<br/>
  <a href="https://www.google.com/calendar/feeds/CALENDAR-ID/private/full" rel="nofollow">https://www.google.com/calendar/feeds/CALENDAR-ID/private/full</a></p>
  
  <p>Using this I get this error:</p>
  
  <pre><code>&lt;HTML&gt;
  &lt;HEAD&gt;
      &lt;TITLE&gt;Authorization required&lt;/TITLE&gt;
  &lt;/HEAD&gt;
  &lt;BODY BGCOLOR="#FFFFFF" TEXT="#000000"&gt;
      &lt;H1&gt;Authorization required&lt;/H1&gt;
      &lt;H2&gt;Error 401&lt;/H2&gt;
  &lt;/BODY&gt;
  </code></pre>
  
  <p></p>
  
  <p>I understand that I need to request authorization to post on the calendar but I would like to post the event in my own calendar.</p>
  
  <p>My questions:<br/>
  1 - Do I need to use OAuth to post an event in my own calendar ?<br/>
  2 - If not, is there any special URL (like magic-cookie) to use with a read-write access ?<br/>
  3 - I have a Google API Key but I don't know if I can use it in this case and how it should be used ?<br/></p>
  
  <p>I am trying to post the event from an iOS application using NSURLConnection. Here is the details:<br/></p>
  
  <blockquote>
    <p>{
      "data": {
        "title": "Tennis with Beth",
        "details": "Meet for a quick lesson.",
        "transparency": "opaque",
        "status": "pending",
        "location": "Rolling Lawn Courts",
        "when": [
          {
            "start": "2013-08-07T15:00:00.000Z",
            "end": "2013-08-07T17:00:00.000Z"
          }
        ]
      }
    }</p>
  </blockquote>
  
  <p>Headers:</p>
  
  <blockquote>
    <p>Content-type: application/json</p>
  </blockquote>
  
  <p>Thank you for your help, I know there is a lot of similar question over internet but everything I try doesn't work and I don't understand the OAuth things in documentation (as I never used OAuth). Also I can;t find in google documentation the case when you want your users to post in a particular calendar.</p>