分享链接不在iphone上工作但在桌面上工作

nat*_*684 6 html css iphone share facebook

我的网站上有一个共享链接,适用于大多数浏览器和移动设备.但出于某种原因,它不适用于iphone.它在Facebook中显示一个共享表单,但表单是空的

<a target="_blank" href='https://www.facebook.com/sharer/sharer.php?s=100&amp;p[url]=http://www.lcbcchurch.com/watch/series/cat/{category_url_title}&amp;p[images][0]={square-thumb}&amp;p[title]={exp:stringy:htmlentities}{category_name}{/exp:stringy:htmlentities}&amp;p[summary]={category_description}'><img src="{homepage}nimg/facebook-icon.png" /></a>
Run Code Online (Sandbox Code Playgroud)

为什么这不起作用的任何想法?

小智 9

我觉得它可能无法正常工作,因为sharer.php链接会在移动设备上重定向到m.facebook.com.如果是这样,您只需要将"m2w"参数添加到您的URL,以便m.没有被接受.

 https://www.facebook.com/sharer/sharer.php?m2w&s=100.... (etc)
Run Code Online (Sandbox Code Playgroud)

StackOverflow问题: 来源