Skip to content

Commit

Permalink
add tweet.write scope
Browse files Browse the repository at this point in the history
  • Loading branch information
mironal committed Apr 23, 2022
1 parent 3d5a1c6 commit 0f5c990
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
{
"object": {
"pins": [
{
"package": "TwitterAPIKit",
"repositoryURL": "https://github.com/mironal/TwitterAPIKit",
"state": {
"branch": null,
"revision": "d6086acfe507e6fd9710a65c1b2f42ae331a6384",
"version": "0.1.0"
}
"pins" : [
{
"identity" : "twitterapikit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/mironal/TwitterAPIKit",
"state" : {
"revision" : "d6086acfe507e6fd9710a65c1b2f42ae331a6384",
"version" : "0.1.0"
}
]
},
"version": 1
}
],
"version" : 2
}
2 changes: 1 addition & 1 deletion TwitterAPIKit-iOS-sample/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class ViewController: UIViewController {
state: state,
codeChallenge: "code challenge",
codeChallengeMethod: "plain", // OR S256
scopes: ["tweet.read", "users.read", "offline.access"]
scopes: ["tweet.read", "tweet.write", "users.read", "offline.access"]
))!

let session = ASWebAuthenticationSession(url: authorizeURL, callbackURLScheme: "twitter-api-kit-ios-sample") { [weak self] url, error in
Expand Down

0 comments on commit 0f5c990

Please sign in to comment.