title: Facebook - Tagging Friends via Graph
body: <p>Facebook just published this post:</p>
  
  <p><a href="https://developers.facebook.com/blog/post/2012/03/07/building-better-stories-with-location-and-friends/" rel="nofollow">https://developers.facebook.com/blog/post/2012/03/07/building-better-stories-with-location-and-friends/</a></p>
  
  <p>Explaining that applications can now tag users and locations in posts! This is great news, but I am getting an error when I try. Here is my code:</p>
  
  <pre><code>$facebook = new Facebook(array(
      'appId'     =&gt; '***',
      'secret'    =&gt; '***',
  ));
  
  $page_id = "245694995445225";
  $args = array(
      'access_token'  =&gt; '***',
      'message'   =&gt; 'Tagging Friend',
      'place'     =&gt; '189766701075056',
      'tags'      =&gt; '100002490263808',
  );
  $post_id = $facebook-&gt;api("/$page_id/feed","post",$args);
  </code></pre>
  
  <p>And this is the error that I receive:</p>
  
  <pre><code>Fatal error: Uncaught OAuthException: (#200) Cannot create the tag thrown in /Applications/MAMP/htdocs/fbtest/sdk/src/base_facebook.php on line 1106
  </code></pre>
  
  <p>If I remove the "tags" parameter, it posts fine with the location. Any ideas why "tags" isn't working yet?</p>