Reputation: 1198
I have added App Transport Security in my app's Info.plist file, but when I tried to access this URL http://api.instagram.com/v1/users/self/media/recent?access_token=%@" it gives me an error:
App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
Upvotes: 0
Views: 298
Reputation: 1357
you have to ON keychain sharing from capabilities
PROJECT NAME > CAPABILITIES > KEY CHAIN SHARING (ON)
Upvotes: 0
Reputation: 3012
Please try with HTTPS URL:
https://api.instagram.com/v1/users/self/media/recent?access_token=%@
Hope this helps.
Upvotes: 0
Reputation: 1465
You probably have not configured App Transport Security Settings
the right way.
Please double check you have something similar to the image below.
If that still does not work, you could try adding the domain itself as an exception. You'd use a configuration similar to the image below. (akamaihd.net
, facebook.com
and fbcdn.net
are just an example).
Upvotes: 1