title: Facebook Javascript API unknown path components
body: <p>I'm trying to integrate Facebook sharing into a webpage using this code edited from their official developer tutorial, but I'm not having any luck.</p>
  
  <pre><code>function postToFacebook(item_id)
  {
  
    FB.api(
      '/me/completeset:display',
      'post',
      { item: 'http://completeset.us/item/'+item_id },
      function(response) {
         if (!response || response.error) {
            alert('Error occured');
         } else {
            alert('Share was successful! Action ID: ' + response.id);
         }
      }); //End api
  }
  </code></pre>
  
  <p>I've got the app set up, with an "item" object and the "defined" action defined. I haven't been able to submit the action yet though, because I haven't been able to post anything with it yet. I've verified that the item_id is being passed in correctly, and I've debugged the url using their debugging tool. When I call this function I'm getting <code>unknown path components/ completeset:display</code>. I haven't been able to find much information on this error, so I'm wondering: what are the causes, and how might I be able to fix it? </p>