The like button works in Chrome and Firefox, but not in Safari. I haven't found reference to this issue on the web.
Please find the link Test website
And the full web site link (in french only today) allVisio
I get the answer with a friend.
To see the button, you need to be connect to facebook with the navigator.
Logic but not easy to understand the first time
Related
When open share facebook link on mobile browsers, it will redirect https://www.facebook.com/sharer/sharer.php?s=100&p... to https://m.facebook.com/sharer/sharer.php?s=100&p... and show the following:
I tried to add m2w& into share link like https://www.facebook.com/sharer/sharer.php?m2w&s=100&p, but still doesn't work and got as same response as the screenshot. The same code works on desktop browsers.
How to fix it? It should be a normal issue but I can't get solution from google. Thanks for any help.
Change the link from https://www.facebook.com/sharer/sharer.php?s=100&p... to
https://www.facebook.com/dialog/feed?app_id=145634995501895&display=popup&caption=An%20example%20caption&link=https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2F&redirect_uri=https://developers.facebook.com/tools/explorer
then change the parameters as need.
I'm writing a bit of code to display an EU Cookie notification.
If the visitor does not accept the use of cookies, I want to take them somewhere else. My first thought was to take them to the browser's home page.
I found a way to do it in IE - I have been told that the method on that page is for IE 10 or less.
I have not found a way to do so in other browsers.
If this turns out to be more trouble than it is worth, I'll take them somewhere via a specific URL, such as www.google.com
Does anyone know of the method to accomplish the same thing in browsers such as Firefox, Safari, Chrome, etc?
Most browsers implement an address that will point to the home page. You should be able to redirect the user to the proper location after you figure out their browser.
For Chrome you can link them to about:newtab, which may be different from the home page, but it is probably the closest you will find. The actual homepage button is not implemented in Javascript and does not use a URL.
For Firefox you can link to about:home.
For Opera you can link to opera:speeddial. (I did not test this one, if someone wants to I'll update)
The documentation you linked to claims to be obsolete after IE10. I think you can link to about:home on IE same as Firefox if your solution isn't working afer IE10. (I did not test this one, if someone wants to I'll update).
We used "Sign in with LinkedIn" for my client's website. This has worked well. But now the button does not show on Internet Explorer (I am using IE9). But the button appears on Chrome?
We are using Umbraco as the CMS but I am not sure this has anything to do with the problem.
When I 'View Source' in IE, I can see all the javascript but the button is just not displaying.
I am going bonkers... all ideas would be welcome.
LinkedIn no longer supports IE9 as stated in their official support list:
https://help.linkedin.com/app/answers/detail/a_id/4135/~/supported-internet-browsers
At the very least refactor your code for newer versions of IE. Paste your snippet or URL and we can see what may be remedied.
I have integrated google+ signin into a php-based web application. It works great in desktop browsers but in iOS6 Safari pressing the signin button does not trigger the appropriate behavior. If I open the app subsequently, it does work, suggesting an issue with caching. I've created a stripped down version, (similar to the one on the google site) of this at http://www.purpool.com/po/test.html . (It doesn't include any of the javascript handlers needed to complete the authentication.) Does anyone have suggestions as to fixing this?
I might add that in iOS6 Chrome the button works but the full authentication process (the opening of a new tab where the user agrees to the service, etc..) does not work as smoothly as it should.
Thanks for your help.
Peter
"googlechrome://www.lego.com" opened in mobile Safari will switch to Google Chrome iOS app to open the URL. This allows for scriptlets like the one below, which allows you to open the current page in Google Chrome iOS app, switching from mobile Safari:
(function()%7Bif(document.location.href.indexOf('http')===0)document.location.href=document.location.href.replace(/%5Ehttp/,'googlechrome');%7D)();
My question is, can the reverse be done? I tried "safari://www.lego.com", and it is simply an invalid URL. Can you make a scriptlet which switches from Google Chrome to mobile Safari to open the current page.
The answer is yes. Courtesy or MacStories (http://www.macstories.net/tutorials/chrome-for-ios-send-a-webpage-back-to-safari-via-bookmarklet/), I found this code:
window.location='googlechrome-x-callback://x-callback-url/open/?url='+encodeURIComponent(location.href)+'&x-source=Safari&x-success='+encodeURIComponent(location.href);
Execute that code, go to your homescreen, reopen Chrome, and there's a magical back button to go back to Safari. This may not be exactly what you want, but it works... Kink of.
Good luck!
Update:
Here's a screenshot:
Link (Sorry, I don't have enough reputation to put it right in the post): http://i.stack.imgur.com/OR175.jpg
Update:
It seems that the functionality to do this has broken. Thank you!