I have a share link on my website that works great in most browsers and mobile devices. For some reason though, it doesn't work on iphones. It brings up a share form in facebook, however the form is empty and
<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>
Any thoughts on why this isn't working?
I have the feeling that it may not work because that sharer.php link will redirect on mobile devices to m.facebook.com. If so you just have to add the 'm2w' parameter to your URL so the m. is not picked up.
https://www.facebook.com/sharer/sharer.php?m2w&s=100.... (etc)
The StackOverflow Question: Source
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With