Having Trouble Customizing the Facebook Share Popup Window

mpbiz

New member
Apr 29, 2010
2,825
57
0
Does anyone know how to customize the facebook share popup window?

I used the official facebook generator located here but that only let's you use their buttons.

So I setup some custom code so I could use a custom button of my choice. The only problem is with this custom solution, the popup window wants to include the entire post's text and it's all jumbled.

I would like to be able to set custom share text for each post.

Here's my javascript code. Sorry it looks like shit but cloudfare kept blocking me:
Code:
ZZZZZ

function PopUp(URL) {
window.open(URL, 'Windowname', 'width=550, height=400, toolbar=0, scrollbars=1 ,location=0 ,statusbar=0,menubar=0, resizable=0');
}

ZZZZZ

And then here's my facebook share code w/ my custom button image:

Code:
ZZZZZ

 href="javascript:PopUp('http://www.facebook.com/sharer.php?u=http://www.mysite.com/post-about-stuff/')"img src="http://www.mysite.com/custom-image/shareonfacebook.jpg" alt="shareonfacebook" width="312" height="52" class="aligncenter size-full wp-image-96" / /a
/div

ZZZZZ

Thanks for the help this shit has taken me way too long already.