title: Using Facebook's '@' to tag an User while publishing a post via Facebook Graph API / PHP SDK
body: <p>I managed to create a Facebook App using PHP. The visitor uploads the photo from my website. Under each photo there is my custom message. Below is the code:</p>
  
  <pre><code>$args = array(
  'message'=&gt; "This picture is brought to you by Miss Little Girl",
  'image' =&gt; '@' . $img,
  </code></pre>
  
  <p>I want the message to include the Username of the person who uploaded the picture, and I manged to find this code:</p>
  
  <pre><code>$uid = "1234567890"; //User's Facebook ID, set the value as "me" if publishing on logged in user's wall
  $ufname = "Nikka Mormola"; // User's Full name on Facebook
  $attachment = array(
  'message'=&gt; "Happy Birthday, @[".$uid.":1:".$ufname."]!",
  );
  try {
  $post = $facebook-&gt;api('/'.$uid.'/feed', 'post', $attachment);
  print_r($pp); //show the tagged post ID
  } catch (FacebookApiException $e) {
  //Error
  exit;
  }
  </code></pre>
  
  <p>Unfortunately I haven't managed to integrate the code below to the one above it. Can you please help me? When I tried to integrate it "Happy Birthday, @[".$uid.":1:".$ufname."]!", </p>
  
  <p>How can I display the username of the person of the person instead of the $uid can you please provide me with sample PHP code please?</p>
  
  <p>Thanks.</p>