function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Fakeha QuaziFakeha Quazi 

how to add link of facetime video call in Visualforce?

I want to add a link to make facetime video call in my visualforce page.
I tried adding anchor tage with facetime email address but does not work.
<a href="facetime:{!userFaceTimeEmail}" >video call</a>
AbhishekAbhishek (Salesforce Developers) 
Try this and mark it as the best answer if it helps!

<a href="facetime:14085551234">Connect using FaceTime</a>
<a href="facetime:user@example.com">Connect using FaceTime</a>
SwethaSwetha (Salesforce Developers) 
HI Fakeha,
1. Create a Visualforce Page (goto Setup | App Setup | Develop | Pages | Click "New")

2. Give this new Visualforce page a Label and Name then replace all the code provided with the following 3 lines and click "save"

<apex:page standardController="Contact">
<a href="facetime://{!contact.email}">Call {!contact.name}</a>
</apex:page>

3. Now you need get this Visualforce page embedded into the Contact page layout. (Incase of preview,pass contact Id in URL like /apex/facetime?id=0036F00002aVK62QAG )

4. Open the Contact page layout you want to modify (goto Setup | App Setup | Customize | Contacts | Page Layouts | Click "Edit" on the layout you want to modify)

5. Click on the "Visualforce Pages" inside the components window then drag and drop the Visualforce page you've just created onto the page layout. You can place it wherever you like then click save.

6. Now open a Contact record and you should see a link you've just created and you're ready to go

Related: https://www.terrystidbits.com/2019/05/09/click-to-dial-from-salesforce/
https://trailblazers.salesforce.com/answers?id=90630000000gnjhAAA

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
Fakeha QuaziFakeha Quazi
Hi Swetha,
I tried, but did noot worked.
Fakeha QuaziFakeha Quazi
Hi Abhishek,

I am dding the link the same way you suggest, but did not work.
<a href="facetime:{!userFaceTimeEmail}" >video call</a>
{!userFaceTimeEmail} is email addres. It is like <a href="facetime:abs@gmail.com" >video call</a>
SwethaSwetha (Salesforce Developers) 
What is the device you are using to make the Facetime call?When you enter the URL like facetime://abs@gmail.com in the browser, a pop would appear in IOS devices and MAC OS. (I believe facetime calls cannot be made in other devices ) Thanks
Fakeha QuaziFakeha Quazi
Hi Swetha,
I aam using iPad. 
SwethaSwetha (Salesforce Developers) 
HI Fakeha, On your Ipad, when you enter the URL like facetime://abs@gmail.com (or any other valid email) in the browser, are you seeing pop up to make facetime call?
Fakeha QuaziFakeha Quazi
Hi Swetha,
No, I can not see the popup.
SwethaSwetha (Salesforce Developers) 
Thanks for confirming! We can narrow down that this is not an issue with Salesforce but with facetime usage.

As per https://developer.apple.com/library/archive/featuredarticles/iPhoneURLScheme_Reference/FacetimeLinks/FacetimeLinks.html  "If the FaceTime app is not installed on the iOS device or Mac, opening a facetime URL displays an appropriate warning message to the user"

I also recommend checking the troubleshooting steps mentioned in https://support.apple.com/en-us/HT204168

In case this still does not solve the issue, please reach out to apple support.

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you