Share facebook link does not work on mobile phones - javascript

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:
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. 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. Thanks for any help.

Change the link from https://www.facebook.com/sharer/sharer.php?s=100&p... to
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.

Related

Fix specific links in website not working on iphone only

I'm creating a website from this template and I've downloaded the template and uploaded it without modifications here.
I have this problem (confirmed by a ticket on templatemonster): on Iphone only (seems like both on safari and chrome), i cannot click on some links (e.g. "view charateristics" on the 4 boats images under "YACHTS FOR SALE".
I tried editing it:
adding a big z-index on the tags
creating a custom section with bootstrap and custom link
using <span> tags with onclick="window.location.href='test.php'"
using a <form> and a <button>
It really seems that the browser does not "catch" the click on the element.
But still, none of them work.
Unluckily, i cannot test on a real phone, but this simulator https://appetize.io/ seems to work pretty well. I did confirm that the problem is also on real devices, thanks to a customer.
I would like to know if anybody knows to fix this issue, without making the template look much different, thanks
EDIT
Here's the page where i'm trying to fix the bug. As you can see the <ontouchstart> is also not working.
I don't know if it would help, but you can also see that the carousel is not working on iphone (not a problem itself, i'm going to hide it).
It's a known Safari Mobile bug, you should add the ontouchstart event handler
More infos here

FB Share popup SHRINKING on Live site

I use the same FB app for both dev/live. I've made sure fb.js is correct. I just pushed quite a lot of code, fyi. I tested a lot, but you never know. I've never seen anything like this and don't know how to fix.
To see, click the links and try to share on facebook: dev http://dev.disheroo.com/GuestMeal/chicken-puffs-broccoli-sliced-apples/105
live https://www.disheroo.com/GuestMeal/chicken-puffs-broccoli-sliced-apples/105
I think it's facebook bug...
share dialog is shrinking

Facebook "Like" button don't work on Safari

The like button works in Chrome and Firefox, but not in Safari. I haven't found reference to this issue on the web.
Please find the link Test website
And the full web site link (in french only today) allVisio
I get the answer with a friend.
To see the button, you need to be connect to facebook with the navigator.
Logic but not easy to understand the first time

cordova app to wp8 window.location not working windows phone

I have created an app with jquery mobile and html5. I created a wp8 package using cordova for the same and have openend the solution with visual studio. The issue I am facing is that the window.location is not working. I have given
window.location.href='home.html#basic' making it redirect to a particular div. I also tried window.location.replace. Using show and hide dive makes the functionality work but many css issues are coming when i use div show and hide. I have gone through many previous questions but still not found any solution. Please help.
Hi all it worked i changed it to $.mobile.changePage('#basic'); and it worked

How do I add an HTML code to my website so that when people click it, it opens a WhatsApp conversation with me?

How do I add an HTML code to my website so that when people click it, it opens a WhatsApp conversation with me?
What I am trying to do is add a clickable link to my website so that potential customers can click it (while on their phone) to open a conversation with me. So far what I have is:
Text
Where +316xxxxxx is my phone number. However, this only appears to work for people that already have me as a contact and I am not sure it works for iOS. I've reached the limit of what I can do with my very limited HTML knowledge and I can't find any good info on Google, any help would be very much appreciated.
In according to this article from WhatsApp FAQ, you may be able to add a link using a URL like this:
Text
I've just tested on iOS 10.3 and it worked.
You are probably talking about App Indexing.
Google has its own SDK for this.
Google App Indexing
And yes you can do this in iOS also but the iOS version must be > 9.
iOS App Indexing
If you don't want to use HTML code, there are a lot free plugins that allow you to easily add a WhatsApp click-to-chat link with to need to write an HTML code.
Between those, I would suggest you to try:
Callbell
WidgetWhats
WhatsHelp
I recently wrote an article about how to install the three of them on a website.
Hope that helps :)

Categories