如何让facebook读取受IP限制的网址(How to let facebook read a url that is IP restricted)

编程入门 行业动态 更新时间:2024-10-26 00:29:23
如何让facebook读取受IP限制的网址(How to let facebook read a url that is IP restricted)

我有一个网站有两个版本,一个国家A和所有其他国家,并受到IP的限制,

问题是来自国家A,如果他们在Facebook共享一个URL(例如); 当facebook试图扫描标题,描述和图像时,它失败了(实际应该),

有没有办法检测到这是facebook/twitter/google IP并让他们阅读? (我知道如果链接被点击在国家A或Facebook之外,它将失败)

I have a site that has two versions, for one country A and for all of the rest, and is restricted by IP,

The thing is that from country A, if they share a URL in facebook (for example); when facebook tries to scan for title, description and image it fails (as actually should),

Is there a way to detect that is facebook/twitter/google IP and let them read it? (i understand that if the link is clicked outside country A or facebook it will fail)

最满意答案

各个网站上有一些信息:

有关Facebook Crawler地址信息,请查看https://developers.facebook.com/docs/opengraph/howtos/maximizing-distribution-media-content#crawl

对于Twitter,您可以在这里查看: https : //dev.twitter.com/docs/cards/troubleshooting#Card_Validator

对于Google,请查看此处: https : //support.google.com/webmasters/answer/80553?hl = zh-CN

There's some info on the individual websites:

For Facebook Crawler address info, have a look at https://developers.facebook.com/docs/opengraph/howtos/maximizing-distribution-media-content#crawl

For Twitter, you can have a look here: https://dev.twitter.com/docs/cards/troubleshooting#Card_Validator

For Google, have a look here: https://support.google.com/webmasters/answer/80553?hl=en

更多推荐

本文发布于:2023-07-23 02:38:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1226566.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网址   IP   facebook   restricted   url

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!