有没有人更新为什么公司页面关注按钮不再起作用LinkedIn?
我在 -https://developer.linkedin.com/plugins/follow-company
处生成了代码
法典:
<script src="//platform.linkedin.com/in.js" type="text/javascript"> lang: en_US</script>
<script type="IN/FollowCompany" data-id="2656413"></script>
提前谢谢。
我最近找到了解决方案,也许对某人有用。
<p>
<iframe
id="iframeOne"
src="https://www.linkedin.com/pages-extensions/FollowCompany?id=1337&
counter=top&
class="IN-widget IN-widget--iframe"
scrolling="no"
allowtransparency="true"
frameborder="0"
border="0"
width="1"
height="1"
style="vertical-align: bottom; width: 160px; height: 45px;">
</iframe>
</p>
当我查看LinkedIn网站时,我看到以下错误:
错误LinkedIn
所以很明显代码有问题。 而且因为你只加载了 2 个脚本。 但为了你这样做,试试这个:
<script src="//platform.linkedin.com/in.js" type="text/javascript"></script>
<script type="IN/FollowCompany" data-id="accountID" data-counter="none"></script>
这就是习惯的做法,我没有看到太大的区别,但您可以尝试添加数据计数器并删除语言。