title: Creating events with the Facebook Graph API
body: <p>I'm trying to create an event through the Facebook Graph API and I keep getting an &quot;Invalid Parameter&quot; error. I cannot figure out what the problem is.</p>
  <p>Here is the code:</p>
  <pre><code>FB.api('/me/events','post',{access_token: accessToken, name: name, start_time: startTime},function(retVal) {});
  </code></pre>
  <p>This is the response:</p>
  <blockquote>
  <p>code 100</p>
  <p>message &quot;(#100) Invalid parameter&quot;</p>
  <p>type &quot;OAuthException&quot;</p>
  </blockquote>
  <p>What am I missing?</p>
  <p>Thank you</p>