mironal / TwitterAPIKit

Swift library for the Twitter API v1 and v2 🍷
MIT License
118 stars 23 forks source link

TwitterAPIKit-iOS-sampleのscopes違いで403になる #122

Closed yogox closed 2 years ago

yogox commented 2 years ago

tapSignInOAuth2でauthorizeURLが scopes: ["tweet.read", "users.read", "offline.access"] となっていますが、このままだとOAuth2で認証してtapCallを呼ぶと403(Forbidden)が返ってきます。 API仕様を参考に"tweet.write"を追加したところ、正常にツイートできました。

mironal commented 2 years ago

ご報告ありがとうございます。修正したいと思います 👍

mironal commented 2 years ago

fix: https://github.com/mironal/TwitterAPIKit-iOS-sample/commit/0f5c9901f923012760c1c0fcde8cf45fc4a46175#diff-354625ceba5c7d1d871762f28ad6fc5bfbb99e2dc19a1b9e8bda2434184d36b3R154