title: How to tag and upload image on user's facebook profile profile using JS and API
body: <p><strong>How can I tag and upload an image to my app's user profile?</strong></p>
  
  <p>I am using following code which is not working for me.<br>
  The user has given upload, post, offline_access scopes to my app on the landing page of my app after that on result page.</p>
  
  <p>I'm using this code:</p>
  
  <pre><code>function graphStreamPublish(session){
              showLoader(true);
  
              FB.api('/me/feed', 'post',
                  {
                      message     : "trying to publish image",
  
                      picture     : 'http://localhost:8085/myweb/images/arranged2.jpg',
                      name        : 'This is my demo Facebook application (JS SDK)!',
                      description : 'It is fun to write Facebook App!!'
  
              },function(response) {
                  showLoader(false);
  
                  if (!response || response.error) {
                      alert('Error occured');
                  } else {
                      alert('Post ID: ' + response.id);
                  }
              });
          }
  </code></pre>
  
  <p>Do I need to do Fb.init on the page as well?<br>
  I put above code after <code>&lt;body&gt;</code> tag is that right?<br>
  How can I tag the user on the same image?</p>