Comments (6)
same issue guys,any solution?
@dongminyoon
from swifter.
from swifter.
You can still do SSO although it's deprecated if you include the url scheme twitterkit-APP_ID
in your Info.plist
This is obviously a hack but still works.
from swifter.
@ekurutepe
what is APP_ID
?
from swifter.
@zunda-pixel Your twitter app ID
from swifter.
thanks. but it doesn't work for me.
import SwiftUI
import Swifter
struct ContentView: View {
let consumerKey = "fake"
let consumerSecret = "fake"
func getOauthToken() {
let swifter = Swifter(consumerKey: consumerKey, consumerSecret: consumerSecret)
let swifterFailureHandler: Swifter.FailureHandler = { error in
print(error)
}
let swifterSuccessHandler: Swifter.SSOTokenSuccessHandler = { json in
print(json)
}
swifter.authorizeSSO(success: swifterSuccessHandler, failure: swifterFailureHandler)
}
var body: some View {
Button("Login with Twitter") {
getOauthToken()
}
}
}
from swifter.
Related Issues (20)
- ErrorResponse Handling HOT 1
- library swiftyJSON error after import swifter in viewcontroller HOT 1
- Fail to authorise HOT 2
- how to embed tweet in swift?
- Documentation/tutorials for Swifter?
- Data instead of JSON - anyone wanna work on this with me? HOT 6
- 'Swifter' used both as module name and class name is problematic. This breaks debugging HOT 1
- Compilation error on Xcode 13 Beta 4 HOT 1
- Authorize with actual twitter app or website, not with app-internal web view? HOT 1
- needs to update usage documentation for iOS13 & up HOT 1
- Any plans to support cocoapods?
- Any plans to include Twitter v2 API?
- iOS login with twitter has error: CredStore - performQuery - Error copying matching creds HOT 1
- difference between default initializers?
- createSavedSearch method - Could not authenticate you
- [Question] how to use authorizeSSO? HOT 2
- ⚠️ Deprecation notice ⚠️ HOT 9
- Iswifter.ipa
- 'Swifter-Swift.h' file not found & (fatal) could not build module 'Test'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swifter.