title: Fatal error: Uncaught OAuthException: (#100) Invalid parameter
body: <p>Hello I'm trying to make an event on behalf of my users. this is the code I am using to make the request to the API. me/feed works fine. but when I change it to me/events and change the keys and content. its messed up. even copy and pasted the parameters straight from the Facebook developers section. </p>
  
  <pre><code>    $ret_obj = $facebook-&gt;api('/me/events', 'POST',
                              array(
                                  'name' =&gt; 'hill Billy',
                                  'start_time' =&gt; '10pm',
                                  'end_time' =&gt; '3am',
                                  'description' =&gt; 'Basic Info',
                                  'location' =&gt; 'street address',
                                  'privacy_type' =&gt; 'OPEN'
                                ));
  </code></pre>
  
  <p>When it's called I get this fatal error:</p>
  
  <pre><code>Fatal error: Uncaught OAuthException: (#100) Invalid parameter thrown in base_facebook.php on line 1238
  </code></pre>
  
  <p>I changed the code to add the session token even tho it wasn't required for the feed call but it still shows the same error message...</p>
  
  <pre><code>       $ret = $facebook-&gt;api('/me/events', 'POST',
                                      array(
                                        'access_token' =&gt; $_SESSION['fb_00000000000000_access_token'],
                                        'name' =&gt; 'hill Billy',
                                        'start_time' =&gt; '10pm',
                                        'end_time' =&gt; '3am',
                                        'description' =&gt; 'Basic Info',
                                        'location' =&gt; 'street address',
                                        'privacy_type' =&gt; 'OPEN'
  </code></pre>
  
  <p>But to no Evail it still doesnt work</p>
  
  <p>Then I just changed it now to</p>
  
  <pre><code>      $ret_obj = $facebook-&gt;api('/'.$_SESSION['fb_000000000000000_user_id'].'/events?access_token='.$_SESSION['fb_000000000000000_access_token'], 'POST',
                                      array(
  
                                        'name' =&gt; 'hill Billy',
                                        'start_time' =&gt; '10pm',
                                        'end_time' =&gt; '3am',
                                        'description' =&gt; 'Basic Info',
                                        'location' =&gt; 'street address',
                                        'privacy_type' =&gt; 'OPEN'
                                   ));
  </code></pre>
  
  <p>isn't that what was specified?</p>