All good I have figured it out
<a href="https://wordpress.stackexchange.com/questions/243458/javascript:fbShare("<?php echo the_permalink(); ?>', 'FB Share', 'Facebook share popup', '<?php echo the_permalink(); ?>', 520, 350)">
All good I have figured it out
<a href="https://wordpress.stackexchange.com/questions/243458/javascript:fbShare("<?php echo the_permalink(); ?>', 'FB Share', 'Facebook share popup', '<?php echo the_permalink(); ?>', 520, 350)">