Fb share or facebook share

<script src="//code.jquery.com/jquery-1.8.1.min.js"></script>
<script src="http://connect.facebook.net/en_US/all.js" type="text/javascript" charset="utf-8"></script>
<a href="javascript:void(0);" class="fb-share-link" onclick="fb_share_prompt()">share</a>



<div id="fb-root"></div>
<script type="text/javascript" charset="utf-8">
    FB.init({
        appId: '1483364041918259', // personal app
        //appId: '1544197545797381',  // webalive app
        //status: true,
        cookie: true,
        xfbml: true
    });

    function fb_share_prompt()
    {
        FB.ui(
            {
                method: 'feed',
                name: 'Justice',
                link: 'http://google.com',
                picture: 'http://lh3.googleusercontent.com/-0g0n4vysSRI/AAAAAAAAAAI/AAAAAAAAAH0/QTviSVwIfkE/s80-c/photo.jpg',
                caption: 'Iman Ali',
                description: '"Justice delayed is justice denied" is a legal maxim meaning that if legal redress.',
                message: 'Justice delayed is justice denied'
            },
            function(response) {
                if (response && response.post_id) {
                    fbShareStatusUpadate();
                    //alert('Post was published.');
                } else {
                    //alert('Post was not published.');
                }
            }
        );
    }

    function fbShareStatusUpadate(){
        $.ajax({
            type: "POST",
            url: '',
            data: '',
            success: function(response)
            {
                //alert(response);
                // If we have response
                if( response ) {

                }
            }
        });
        return false;
    }
</script>