title: Retrieve facebook post URL with post_id
body: <p>I want to get URL of users who share from my links, I have got the <code>post_id</code> but when I try to get full post URL, facebook asking for my access token, can I have the access token after users share? </p>
  
  <p>This is my Code <strong>[UPDATED]</strong>:</p>
  
  <pre><code>&lt;div id="fb-root"&gt;&lt;/div&gt;
  &lt;script&gt;
    window.fbAsyncInit = function() {
      FB.init({
          appId   : 'MYAPPID',
          xfbml   : true,
          status  : true,
          cookie  : true,
          version : 'v2.3'
      });
    };
  
    (function(d, s, id){
       var js, fjs = d.getElementsByTagName(s)[0];
       if (d.getElementById(id)) {return;}
       js = d.createElement(s); js.id = id;
       js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&amp;version=v2.3";
       fjs.parentNode.insertBefore(js, fjs);
     }(document, 'script', 'facebook-jssdk'));
  
  &lt;/script&gt;
  
  &lt;script&gt;
  function shareonfacebook(){
          FB.ui(
          {
              method: 'feed',
              name: 'Example',
              link: 'https://www.example.com',
              picture: 'Example.jpg',
              caption: 'Example',
              description: 'Example',
          },
              function (response) {
                  if (response &amp;&amp; response.post_id) {
                      alert('Thanks!');
                      console.log( response );
                  } else {
                      alert('Oops!');
                  }
              }
          );
  
      };
  &lt;/script&gt;
  </code></pre>