title: Facebook RSVP to an event using jQuery / JavaScript
body: <p>I've been trying this without success. I've already gotten the user's authentication with event_rsvp permissions, as well as an access token, yet each time I try to RSVP to an event, it doesn't work. I call the following on a button click:</p>
  
  <pre><code>function attendingEvent() {
      var url = 'https://graph.facebook.com/'+eventid+'/attending/'+userid+'?access_token='+accessToken;
      $.post(url, function(data) {
          $('#event_info').html(data);
      });
  }
  </code></pre>
  
  <p>For some reason I'm not even getting the "callback". What am I doing wrong?</p>