Social sharing count for both http and https - twitter

I've recently changed a website to SSL (https) and now I have a problem for the social sharing counts (twitter, facebook, and google+) for the articles on the website.
Shared link was like http://website.com/article If I change it to https I lose the count.
How can make the count works both on http and https?

Pass the http:// address to the social plugin. And redirect http:// addresses to https:// when the link is followed back.

Related

Are there any security issues with using Custom URL schemas as a redirect uri for a mobile app

Im trying to implement SSO in my mobile application but im having issues with the redirect uri on the iOS side. Currently right now my redirect has the scheme of https://. I realize this is an issue an want to move to a custom url (Example: com.myapp.xamarin).
The issue that im running into now is that im worried this violates the https protocol and my login token will be vulnerable to attacks.
All the documentation on how to implement a mobile redirect all use custom url schemes. I find it hard to believe that big companies such as google, Microsoft, and Facebook all allow these custom url schemes without it being secure.
Does anyone know anything or can link me anything stating that custom url schemes are still secure.

Does the URL needs to be HTTPS for a messenger webview?

I tried putting a HTTP URL in a Messenger Webview and the bot is crashing.
Yes, per Facebook Messenger's documentation, Webviews have to be HTTPS and they have to be whitelist in the Page Settings. For more details, take a look at Facebook Messenger's documentation on Whitelisting URLs.

Facebook images are not shown in ios version of cordova app

I'd like to display the facebook profile image when a user had logged in via facebook. The images from the domain graph.facebook.com are not shown in the ios version of my app. It works fine in browser and android as well.
I added the access rules (I'm using meteor)
App.accessRule("*");
App.accessRule("graph.facebook.com");
but it didn't help.
In my case the problem was caused because I was referencing the Facebook images inside my app with an 'http' link when my server site was running on a secure site 'https'. iOS had blocked all links to insecure sites inside a secure site.
The solution was change the fb links to https:
https://graph.facebook.com/10154217231etc....
Actually FB serves his resources in both http and https sites.

UIWebView - how to support HTTPs,Untrusted sites and sites with popup authentication

I'm building an app with UIWebView.
I want to support both HTTPS, untrusted sites and sites with popup authentication.
I tried this post:
https://stackoverflow.com/a/11664147/2445225
but it's giving me support for only https sites.
I tried also the posts:
https://stackoverflow.com/a/14286789/2445225
It looks like this is not possible to support all kind of sites in UIWebView.
Is it possible to support both Https sites, Untrusted sites and sites that have popup authentication?
I found a way. Not so good but a way.
Needs to check for every request for the protectionSpace on willSendRequestForAuthentication and behave accordingly.

Login with Facebook in wifi hotspot

we're developing a wifi hotspot captive portal where users can authenticate with their preferred social network credentials.
Of course before user's login on captive portal he/she can't reach internet, so some urls must be open in order to be able to reach external authentication pages.
Unfortunately for us, facebook's oauth dialog is "https://www.facebook.com/dialog/oauth". Being https we can only open IPs or hostnames, but we have no control on "path" of the request, so we should open all www.facebook.com site. Unfortunately, for legal problems, it's not possible.
The simplest solution would be to have oauth dialog page on a different url (example: http://oauth.facebook.com/dialog/oauth...), is it possible?
Any other suggestion?
I've found some similar questions in this forum (so forgive me for the duplicate question), but none has an answer.

Resources