[英]Share facebook link does not work on mobile phones
When open share facebook link on mobile browsers, it will redirect https:// www.facebook.com
/sharer/sharer.php?s=100&p... to https:// m.facebook.com
/sharer/sharer.php?s=100&p... and show the following: 当在移动浏览器上打开共享Facebook链接时,它将https://
www.facebook.com
/sharer/sharer.php?s=100&p ...重定向到https:// m.facebook.com
/sharer/sharer.php ?s = 100&p ...并显示以下内容:
I tried to add m2w&
into share link like https://www.facebook.com/sharer/sharer.php?m2w&s=100&p
, but still doesn't work and got as same response as the screenshot. 我试图将
m2w&
添加到https://www.facebook.com/sharer/sharer.php?m2w&s=100&p
类的共享链接中,但仍然无法正常工作,并且得到与屏幕截图相同的响应。 The same code works on desktop browsers. 相同的代码可在桌面浏览器上使用。
How to fix it? 如何解决? It should be a normal issue but I can't get solution from google.
这应该是正常问题,但我无法从Google获得解决方案。 Thanks for any help.
谢谢你的帮助。
Change the link from https://www.facebook.com/sharer/sharer.php?s=100&p...
to 将链接从
https://www.facebook.com/sharer/sharer.php?s=100&p...
更改为
https://www.facebook.com/dialog/feed?app_id=145634995501895&display=popup&caption=An%20example%20caption&link=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F&redirect_uri=https://developers.facebook.com/tools/explorer
https://www.facebook.com/dialog/feed?app_id=145634995501895&display=popup&caption=An%20example%20caption&link=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F&redirect_uri=https://developers.facebook。 com / tools / explorer
then change the parameters as need. 然后根据需要更改参数。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.