- TARGETS -> Info -> URL Types -> URL Schemes は自分のアプリ名など任意の文字列(ここでは
myappとする) -
OAuth1Swift.authorize()で指定するCallbackURLは"myapp://oauth-callback/twitter"にする -
OAuthSwift.handle(url:)を呼ぶ前の条件分岐はurl.host == "oauth-callback"にする - Twitter Appsのアプリ設定項目のCallback URLは
myapp://を入力する
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme