FHSTwitterEngine icon indicating copy to clipboard operation
FHSTwitterEngine copied to clipboard

FHSTwitterEngine trouble in ios 10.1.1

Open ghost opened this issue 8 years ago • 3 comments

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 }

ghost avatar Dec 29 '16 13:12 ghost

Can you try adding the settings for app transport security

dkhamsing avatar Dec 29 '16 16:12 dkhamsing

<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

KhushbooM avatar Jan 02 '17 07:01 KhushbooM

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

dkhamsing avatar Jan 17 '17 18:01 dkhamsing