Whatsapp sharing link page doesn't exist - html

I doing a button to share a link to WhatsApp but after I clicked my button, the WhatsApp web shows the message "We couldn't find the page you were looking for".
this is my code
<a target="_blank" ng-href="https://wa.me/?text=aaa" data-action="share/whatsapp/share"></a>
after clicked my button, the URL
https://api.whatsapp.com/resolve?deeplink=/%3Ftext%3Daaa
May I know why the Whatsapp web show the message?

You code is correct, but..
It seems like Whatsapp broke this functionality a while ago. Only these kinds of texts with numbers are working at the moment.
(Was using the same functionality on my own site, have not found a proper replacement yet that works in all places/devices)

I fixed this issue by changing the href url to https://api.whatsapp.com/send/text?=aaa.

Related

How can I auto-redirect a user after they share a post on Facebook

I have a button on my website allowing the users to share the site on Facebook.
The button has the following anchor tag:
https://www.facebook.com/sharer/sharer.php?u=example.com.au
This redirects the user to a site where they can post on their Facebook Page. Once the user click's 'Post', Facebook automatically redirects the user to a blank page which has the following in the address bar.
https://www.facebook.com/dialog/return/close#=
I want to direct the user to my own custom website rather than the blank Facebook default.
A quick Google search on this issues suggested that I need to add a redirect parameter in the URL so that Facebook knows where to redirect the user once they complete the post. It is meant to look like this:
https://www.facebook.com/sharer/sharer.php?u=example.com.au&redirect_uri=http://newsite.com
As you can see, I have added the parameter "redirect_uri" and I have set it to: htttp://newsite.com
Only one small problem.....
It doesnt work!
I have no idea why, but it still directs to the default blank page (https://www.facebook.com/sharer/sharer.php?u=example.com.au)
I have tried clearing my browser cache, I have tried different browsers, I have even tried multiple devices but I still can't get this to work.
Am I doing something wrong? Did Facebook deprecate this feature?
FYI: This is where I found to use the redirect parameter:
https://developers.facebook.com/docs/sharing/reference/share-dialog
I don't know why it doesn't return to the correct URL, but I had a similar problem and created the below solution:
<a href="#" onclick="fbShareWindowOpen()">
<span id="fbShareButton">Share this on facebook!</span>
</a>
<script>
function fbShareWindowOpen() {
var myWindow = window.open("https://www.facebook.com/sharer/sharer.php?u=www.url-to-share.com/", "", "top=30px,width=200,height=100");
}
</script>
This will open up a window that will resize correctly to fit the facebook sharer UI. When the link is shared (the share button has been clicked) the new window closes, making for a very clean flow.
I don't know for sure, but I assume the facebook sharer child window is closed by the "..return/close.." redirect URL.

Skype for Business - Sharepoint href="sip:..."

I'm new at this, so have no idea really what to do. I'm trying to add a link to a sharepoint page which allows a Skype for Business conversation window to open (like the contact button that works for Skype). Every example I saw says that the easiest way to do this is by using the following code:
Text
When I do this and save the sharepoint page the hyperlink dissapears and the code ends up being
<a unselectable="on"> Text </a>
I don't know if I'm missing a .js or something like that, which allows the href="sip..." to be a valid hyperlink.
How can I fix this?

Share post on facebook, strange error

I need to implement a facebook share button on a website I am currently developing. The theory is simple and works with a simple link, e.g. https://www.facebook.com/share.php?u=https%3A%2F%2Freddit.com%2Fr%2Fall%2F. This works for me for random pages and my home page.
However, this does not work for all pages of that web site except the home page (/).
Example:
Page http://www.youmatch.global/approach/
Share link https://www.facebook.com/share.php?u=http%3A%2F%2Fwww.youmatch.global%2Fapproach%2F
The sharing dialog states "Object not found". I am already trying for two days but I have no clue what might be the problem.
Any ideas?
You may take look at this page to see what's wrong in your sharer : https://developers.facebook.com/tools/debug/sharing/

facebook and twitter buttons doesn't work

I am building a website in dreamweaver cs5. for some reason, the facebook like button and twitter share as well as follow button doesn't work. facebook like button shows nothing. (in the area, chrome says page cannot be found), twitter buttons show the hyperlink tweet and it tweets but the icon doesn't show up. The code for both are generated from facebook and twitter itself.
I haven't hosted the site yet. I and coding and previewing it. Is that the reason for them not to work?
I also tried addthis.com widget. It didn't show up as it should have.
Please help!
Many thanks.
Twitter button will function but not show up and Facebook button not render at all if the site is not on a reachable host, i.e. if u run it from your local server which is not accessible from the Internet. Hope this helps.

form post in Chrome extension popup not doing anything

I am making a chrome extension and I have a popup.html page that contains a form with method post, it does not do anything when opened using the popup button however if the page is opened as an options page or just a normal html page, the form posts fine and the new page is loaded.
so something in the popup is preventing the form from working.
I cannot figure out why, anyone know how to fix/work around this ?
You need to do an AJAX POST request. A quick Google search brought up this post.
Maybe an answer duplicate of Paypal Button For Google Chrome Extension.
Just in case that somebody arrives here, try adding a simple target="_blank" to your tag (Works with Paypal donate buttons, for example)