I have integrated Facebook messenger share on website that worked perfectly but stopped working for now.
I tried 2 different ways but neither of them works.
Method 1. (worked perfect recently)
window.open('fb-messenger://share?link=' + encodeURIComponent(link) + '&app_id=' + encodeURIComponent(app_id));
Method 2 - load Send Dialog URL using the Facebook SDK for JavaScript.
FB.ui({
method: 'send',
link: 'example.com',
});
Both methods have same result you can see picture here.
You can check Messenger share for Web(not for mobile devices, on mobile it works.) on these links:
- https://elfsight.com/tutorials/embed-facebook-messenger-share-button-on-website/
- https://sharethis.com/social-media-buttons/facebook-messenger-share-button/
Same result everywhere. Does it need some permission or something?
Aucun commentaire:
Enregistrer un commentaire