title: Meteor using a local connection results in error: insert failed: 404 -- Method not found
body: <p>I've got a meteor collection on the client side</p>
  
  <pre><code>Friends = new Meteor.Collection("Friends");
  Meteor.subscribe("Friends");
  </code></pre>
  
  <p>I have a user authenticate with facebook and I want to grab a list of their friends: </p>
  
  <pre><code>FB.api("/me/friends?    auth_token="+response.authResponse.accessToken,
      function(response){
          for (i = 0; i&lt;response.data.length;i++){
              Friends.insert(response.data[i]);
      }
  );
  </code></pre>
  
  <p>I have a function to get that list:</p>
  
  <pre><code>Template.Friends.all_friends = function(){
      return Friends.find();
  } 
  </code></pre>
  
  <p>I have a template that would like to display all the friends on the screen:</p>
  
  <pre><code>&lt;template name="Friends"&gt;
      {{#each all_friends}}
      &lt;div id="{{id}}" class="friend"&gt;
          &lt;img src="http://graph.facebook.com/{{id}}/picture" /&gt;
          {{name}}
      &lt;/div&gt;
      {{/each}}
  &lt;/template&gt;
  </code></pre>
  
  <p>What appears to be happening on the page is that all the friends <em>DO</em> flash up on the screen for a split second then immediately the screen flashes back to blank.</p>
  
  <p>In the javascript console the message appears once per friend I have (yes, it is more than zero, thanks for asking)</p>
  
  <pre><code>insert failed: 404 -- Method not found
  </code></pre>
  
  <p>So! What have I missed? Anyone?</p>