How to let facebook read a url that is IP restricted

我的梦境 提交于 2019-12-24 21:09:53

问题


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)


回答1:


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



来源:https://stackoverflow.com/questions/24693156/how-to-let-facebook-read-a-url-that-is-ip-restricted

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!