Redirect after CTA click

Hi guys, hope you are well!

I’m struggling on a bit of technic here: how would you make a CTA whom has 2 functions?

The first would be to share a post of Facebook.
The second would be to direct the user to another page on the website.

Example of this working :

Thanks in advance for your help ^^

Cheers