我的网站上有一个共享链接,它在大多数浏览器和移动设备上都运行良好。但出于某种原因,它不适用于 iPhone。它会在 Facebook 中显示一个共享表单,但是该表单是空的并且
<a target="_blank" href='https://www.facebook.com/sharer/sharer.php?s=100&p[url]=http://www.lcbcchurch.com/watch/series/cat/{category_url_title}&p[images][0]={square-thumb}&p[title]={exp:stringy:htmlentities}{category_name}{/exp:stringy:htmlentities}&p[summary]={category_description}'><img src="{homepage}nimg/facebook-icon.png" /></a>
关于为什么这不起作用的任何想法?
最佳答案
我感觉它可能不起作用,因为 sharer.php 链接会在移动设备上重定向到 m.facebook.com。如果是这样,您只需将“m2w”参数添加到您的 URL,以便 m.没有被拾起。
https://www.facebook.com/sharer/sharer.php?m2w&s=100.... (etc)
StackOverflow 问题: Source
关于html - 分享链接在 iphone 上不起作用,但在桌面上有效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18721755/