Skip to content

Commit 5e5fb6e

Browse files
committed
fix(oauth): 🐛 fix redirect uri for oauth1.0
Closes #160
1 parent 2b6ae3b commit 5e5fb6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytwitter/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def _get_oauth1_session(
206206
session = OAuth1Session(
207207
client_id=self.consumer_key,
208208
client_secret=self.consumer_secret,
209-
callback_uri=callback_uri,
209+
redirect_uri=callback_uri,
210210
**kwargs,
211211
)
212212
return session

0 commit comments

Comments
 (0)