我有一个网站,想在网站上嵌入LinkedIn关注按钮 请参阅:https://developer.linkedin.com/plugins/follow-company
我在我的网站上添加了一个LinkedIn关注按钮,用LinkedIn注册了我的网站网址。
情景:
浏览器控制台出错:
Load denied by X-Frame-Options: https://www.linkedin.com/company/follow/submit?id=<Company Id>&fl=start&src=btn&rd=json&ft=0_2MZDSRL3TZnOwVljzvjnGEkdKYCNzL1pCmG7GZUzmtDgbGCJ60vYC_qf6CcabmUV-kkmaf1In8FlOqBM6Ym3Je&csrfToken=ajax%3A4802512393226623262&trk=cws-btn-follow-0-0&ajax= does not permit cross-origin framing.
当我们检查LinkedIn标题时,它会显示X-Frame-Options: sameorigin