https://github.com/zunda-pixel/logintwitter
Login Twitter for Twitter API v2 Ouath2
https://github.com/zunda-pixel/logintwitter
Last synced: about 1 year ago
JSON representation
Login Twitter for Twitter API v2 Ouath2
- Host: GitHub
- URL: https://github.com/zunda-pixel/logintwitter
- Owner: zunda-pixel
- Created: 2022-06-27T05:23:24.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-04T02:02:02.000Z (over 3 years ago)
- Last Synced: 2025-02-13T09:38:57.033Z (over 1 year ago)
- Language: Swift
- Size: 68.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## LoginTwitter
Login Twitter for Twitter API v2 (Oauth2)
This is Sample for Twitter API Library([Sweet](https://github.com/zunda-pixel/Sweet))
## Set up
### 1. Get Client ID
[Developer Portal](https://developer.twitter.com/en/portal/) > Products & Apps > Keys and token

### 2. Set Client ID
open Secret.swift and type your Client ID
```swift
struct Secret {
static let clientID = ""
static let clientSecretKey = ""
...
}
```
### 3. Set CallBackURL(= URLScheme)
Add `loginTwitter://`
