如何分享网站链接到Facebook .. [英] how to share website link to facebook..
本文介绍了如何分享网站链接到Facebook ..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何分享网站链接到Facebook ..
plz给出一些想法。或其相关代码。
添加分享按钮网站,并点击按钮它应该在FB上共享
解决方案
参考此链接
为我在asp.net的网站创建facebook分享按钮 [ ^ ]
在共享按钮点击事件下添加此代码
window.open(
' https://www.facebook.com/sharer/sharer.php?u='your url',
' facebook-share-dialog',
width = 600,height = 400');
return false;
how to share website link to facebook..
plz give some idea.or its related code.
add share button on website,and on button click it should be shared on FB
解决方案
refer this link
create facebook share button for my website in asp.net[^]
Add this code under share button click event
window.open( 'https://www.facebook.com/sharer/sharer.php?u='your url', 'facebook-share-dialog', 'width=600,height=400'); return false;
这篇关于如何分享网站链接到Facebook ..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文