Hey Everyone!
I am very new to trying out stuff with the twitter API, since I am starting from scratch I’ve tried makin a PIN Based Oath to authenticate external users to the app. I am using a simple script I got from this: tweepy/pin-based_authorization.py at v4.4.0 · tweepy/tweepy (github.com)
And I get an URL but when I authorize the app either my callback does not work (since I’ve got it set to localhost). My question is: What callback url should I use?
Or is my method not right for a begginer? Which should I use.
Thanks a lot!
Hi @LuisOrt0299 welcome to the community
Can you explain in more detail what the problem is?
what do you expect? Since you’re using pin base, it might be a little different to handle callbacks, so we need an explanation of your problem.
1 Like
The problem I am facing is that since I don’t know how the callback should be done I hace localhost as the callback URL and I have this screen after I authorize twitter to use my account.
My question is how should I work with the callback url and get the pin.
Sorry for the late response and thanks for the help.
try using tunnel like ngrok instead of localhost
2 Likes
Thanks for reaching out. I also sometimes use example.com as a callback URL which might be a good option.
2 Likes