标签: facebook angularjs uri share
我想分享这个AngularJS URI:
http://blog.pabloleone.com/#/posts/migrar-galeria-de-imagenes-de-wordpress
。我用这个链接
http://www.facebook.com/share.php?u=http://blog.pabloleone.com/#/posts/migrar-galeria-de-imagenes-de-wordpress
这不起作用。
我怎么能这样做?
答案 0 :(得分:3)
尝试使用编码字符串:
encodeURIComponent方法( “http://blog.pabloleone.com/#/posts/migrar-galeria-de-imagenes-de-wordpress”)
http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.pabloleone.com%2F%23%2Fposts%2Fmigrar-galeria-de-imagenes-de-wordpress