Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FHSTwitterEngine trouble in ios 10.1.1 #128

Open
ghost opened this issue Dec 29, 2016 · 3 comments
Open

FHSTwitterEngine trouble in ios 10.1.1 #128

ghost opened this issue Dec 29, 2016 · 3 comments
Labels

Comments

@ghost
Copy link

ghost commented Dec 29, 2016

when running FHSTwitterEngine in 9.0 version it generates
Twitter savedHttpBody:oauth_token=2744544632-8W6wBwMEYhHRTHyeOm0OzOcFRtWHPEX6jRuhXbQ&oauth_token_secret=SbEkyNMoOMDATZiw7uHtt2FLsyzSgrsPsv21VBGjmKsi7&user_id=2744544632&screen_name=kapilcdn&x_auth_expires=0
Twitter Access token:<FHSToken: 0x15979a90>

but when running in ios 10.1.1
Twitter savedHttpBody:(null)
Twitter Access token:<FHSToken: 0x170821f40>

it is unable to give savedHttpBody


it gives (NSError) NSError = domain: @"NSURLErrorDomain" - code: 18446744073709550604{
_userInfo = 0x0000000170464700 3 key/value pairs
}

@dkhamsing
Copy link
Collaborator

Can you try adding the settings for app transport security

@ghost
Copy link
Author

ghost commented Jan 2, 2017

<key>NSAppTransportSecurity</key>
	<dict>
		<key>NSAllowsArbitraryLoads</key>
		<true/>
		<key>NSExceptionDomains</key>
		<dict>
			<key>api.twitter.com</key>
			<dict>
				<key>NSExceptionMinimumTLSVersion</key>
				<string>TLSv1.1</string>
				<key>NSIncludesSubdomains</key>
				<true/>
				<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
				<true/>
				<key>NSTemporaryExceptionMinimumTLSVersion</key>
				<string>TLSv1.1</string>
			</dict>
</dict>
	</dict>

i have added this but doesn't helping the way

@dkhamsing
Copy link
Collaborator

i can confirm this, no time to take a closer look
any help appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant