Any one point me how to customize facebook share

Posted by Venkat on Stack Overflow See other posts from Stack Overflow or by Venkat
Published on 2014-06-04T08:58:12Z Indexed on 2014/06/04 9:25 UTC
Read the original article Hit count: 212

Filed under:
|

I am trying to share my own custom url, image, title and description using Facebook and twitter.

I am having lot of images and videos in my website. So i want to make my content viral on social websites. I am trying to keep share options for both facebook and twitter for everything individually. If some one share one image i want that image in the sharing thumbnail and url will be the page url with my own title, description. Based on the url i will point the user to that pic in my website.

I tried in the below way.

Facebook share:

<a href="javascript:;" onclick="window.open('http://www.facebook.com/share.php?u=your_page_url','facebook share','resizable=yes,width=700,height=500,scrollbars=yes,status=yes')"><img alt="facebook" src="yourimage.jpg" /></a>

Twitter share:

<a href="javascript:;" onclick="window.open('https://twitter.com/share','twitter share','resizable=yes,width=700,height=500,scrollbars=yes,status=yes')"><img alt="twitter" src="yourimage.jpg" /></a>

© Stack Overflow or respective owner

Related posts about facebook

Related posts about facebook-sharer