LinkedIn Share不会处理URL中的“#”

时间:2010-12-29 22:20:06

标签: linkedin sharethis

当共享网址中包含“#”时,我在使用LinkedIn的共享功能时遇到了问题。

我的网址如下所示:http://shoshin.glgqa07.com/#!/content/detail/High-pay-without-advanced-degrees

当我在LinkedIn上分享此网址时,它会在“#”之后删除所有内容。因此,LinkedIn上链接的页面指向http://shoshin.glgqa07.com/

我正在使用以下网址将页面分享到LinkedIn。 http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Fshoshin.glgqa07.com%2F%23!%2Fcontent%2Fdetail%2FHigh-pay-without-advanced-degrees&title=The+Shoshin+Project+%3A+QA+tesing&summary=&source=

当我在上面的页面上显示源代码(LinkedIn页面上的共享新闻)时,隐藏输入字段“contentUrl-shareForm”的值为“http://shoshin.glgqa07.com/”,而不是完整的URL。< / p>

我正在使用ShareThis库来实现此功能。

有谁知道这个问题的解决方案?

1 个答案:

答案 0 :(得分:0)

您是否尝试使用ASCII代码%23替换尖锐符号(#)