Skip to content

Instantly share code, notes, and snippets.

@swape
Created May 21, 2013 10:21
Show Gist options
  • Save swape/5618819 to your computer and use it in GitHub Desktop.
Save swape/5618819 to your computer and use it in GitHub Desktop.
Facebook share function
function fb_share(url,tittel) {u=url;t=tittel;window.open('https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');return false;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment