﻿
function shareOnFacebook(msg, text, url, desciption, usermessage) {
    FB.ui(
                {
                    method: 'stream.publish',
                    message: msg,
                    attachment: {
                        name: desciption,
                        caption: 'Footbo',
                        description: text,
                        href: url
                    },
                    action_links: [
       { text: 'Go to', href: url }
     ],
       user_message_prompt: usermessage
                },
   function(response) {
       if (response && response.post_id) {
        
       } else {
         
       }
   }
 );

}
