Html LinkedIn成员档案插件

Html LinkedIn成员档案插件,html,css,linkedin,Html,Css,Linkedin,我正在尝试使用LinkedIn的会员资料插件,该插件位于以下位置: http://developer.linkedin.com/plugins/member-profile-plugin-generator 然而,每次我将生成的代码粘贴到我的HTML文档中,似乎都没有显示任何内容。请原谅我的无知,如果我遗漏了什么,我对HTML和CSS是相当陌生的。在做了一些搜索之后,我看到了很多关于他们API的讨论。我需要API密钥才能让它工作吗?或者我只是在代码中遗漏了什么 下面是我尝试使用的代码示例: &

我正在尝试使用LinkedIn的会员资料插件,该插件位于以下位置:

http://developer.linkedin.com/plugins/member-profile-plugin-generator
然而,每次我将生成的代码粘贴到我的HTML文档中,似乎都没有显示任何内容。请原谅我的无知,如果我遗漏了什么,我对HTML和CSS是相当陌生的。在做了一些搜索之后,我看到了很多关于他们API的讨论。我需要API密钥才能让它工作吗?或者我只是在代码中遗漏了什么

下面是我尝试使用的代码示例:

<script src="//platform.linkedin.com/in.js" type="text/javascript"></script>
<script type="IN/MemberProfile" data-id="(Profile URL)" data-format="inline"></script>


感谢您的帮助。

这肯定与您通过
文件://C:\…访问它有关\html
而不是像
http://myserver.com/mypage.html

如果在Console下按F12键查看开发者工具,您可以在Chrome中看到错误。很难找到最初的原因,因为所有这些都是在这些脚本中运行的

但是脚本可以工作,如果你只是把它粘贴到某个地方,你就可以看到它正在运行,比如用你的“linkedin短url”试试。例如:“:

您可以在编辑公共配置文件时自定义公共配置文件URL。自定义公共配置文件URL以先到先得的方式提供

1.Move your cursor over Profile at the top of your homepage and select Edit Profile.
2.Click the URL link under your profile photo. It will be an address like www.linkedin.com/in/yourname
3.Under the Your public profile URL section on the right, click the Edit icon next to your URL.
4.Type the last part of your new custom URL in the text box.
5.Click Save.

尝试在脚本前面添加
http
src@tymeJV这是不必要的。@WooCaSh——如果这是从本地计算机托管的,它可能会在它前面添加
文件
。它在
file://..
@tymeJV您是在任何web服务器上测试它,还是只在没有任何服务器的本地主机上测试它?