An open API service indexing awesome lists of open source software.

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

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

スクリーンショット 2022-06-27 14 28 24

### 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://`

スクリーンショット 2022-06-27 14 33 56