Tagged: facebook share
-
AuthorPosts
-
April 16, 2019 at 12:02 pm #1091391
Goodmorning,
All the social share if clicked in mobile open IN THE APP of the social.
All BUT Facebook which opens as a browser link…
Any Idea how to fix this?I tried this code found online but works very badly (app doesn’t open in the profile)
<script> (function($){ var a = function() { var isMobile = ''; if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && 'ontouchstart' in document.documentElement) { isMobile = true; } else { isMobile = false; } if(isMobile || $(window).width() <= 767) { $('#top #wrap_all .av-social-link-facebook a').attr('href','fb://profile/476685389485016'); } else { $('#top #wrap_all .av-social-link-facebook a').attr('href', 'https://www.facebook.com/GDGpropertysolutions/'); } } $(window).resize(function() { a(); }).resize(); })(jQuery); </script>
Thank You
April 16, 2019 at 7:44 pm #1091650Hey Arcatech,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
VictoriaApril 19, 2019 at 3:42 pm #1092703Actually it seems strange to me that a common and appreciated theme like yours features a flaw this big!!!
Social sharing must be flawless! All the others like Twitter and linkedin authomatically open in the app. Facebook should do the same!
April 23, 2019 at 2:50 am #1093475Hi,
Where did you add the script? Try to replace the url pattern with the following.
fb://facewebmodal/ OR fb://page/PAGEID
Replace “PAGEID” with the actual id of the FB page or profile.
Related thread:
Best regards,
IsmaelApril 29, 2019 at 5:16 pm #1095341Ok thank you very much Ismael!
that worked great, BUT it only links the page.
How can I share! the post opening the facebook app instead of the mobile url???April 30, 2019 at 1:55 pm #1095761Hi,
Thanks for the update.
I’m sure that’s possible. According to this forum, it has to be set in the application directly.
Try to follow the steps here:
// https://talk.sonymobile.com/t5/Xperia-Z2/Open-links-in-Facebook-app-itself/td-p/933637#gref
Best regards,
IsmaelApril 30, 2019 at 6:07 pm #1095826Ok Thank you very much, it was very helpful.
It seems there is nothing I can force from the website then.
April 30, 2019 at 8:05 pm #1095863Hi,
I;m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Facebook Share not opening in APP’ is closed to new replies.