简体   繁体   English

网站无法在iOS版Facebook App中打开,也无法重定向到Safari

[英]Site won't open in Facebook App for ios, nor redirect to Safari

I'm not a heavy coder here, so i'll ask my best. 我不是一个沉重的程序员,所以我会尽力而为。

We made a brochure about our home town. 我们制作了关于家乡的小册子。 However users spreading it trough facebook cant open the links when in their facebook app. 但是,通过Facebook传播它的用户无法在其Facebook应用程序中打开链接。 The app does not send it to safari either. 该应用程序也不会将其发送到野生动物园。 If opened directly from safari it is no problem. 如果直接从野生动物园打开,那是没有问题的。

The link is http://visit.lodingen360.com 链接是http://visit.lodingen360.com

Is there anything i can do to the site/index.html/whatever that will make it open in safari when the link is clicked in the facebook app for ios? 我可以对site / index.html /执行任何操作,只要在ios的Facebook应用程序中单击链接就可以在safari中打开它? (that won't affect visiting the site from pc's and so on) (这不会影响通过pc等访问该网站)

Is there anything uiwebview won't read that can force it to safari, so that we can redirect from the thing opened in safari to the site? uiwebview有什么会读到的,可以迫使它进入safari,以便我们可以从safari中打开的东西重定向到网站吗?

Your page will load and display in Mobile Safari, I tried with UIWebView and it will load without displaying an error, but the brouchure page content won't display. 您的页面将在Mobile Safari中加载并显示,我尝试使用UIWebView进行加载,但该页面将加载而不会显示错误,但不会显示页面内容。

Safari and UIWebView have different user agent's - therefore my guess is that because your site uses flash but it checking for the type of browser you are not performing the check correctly for UIWebView and the page is attempting to use flash which isn't supported. Safari和UIWebView具有不同的用户代理-因此,我的猜测是,因为您的站点使用Flash,但它正在检查浏览器的类型,因此您未正确执行UIWebView的检查,并且该页面正在尝试使用不支持的Flash。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM