Thank you @Connexinet!
But this looks like a recurring problem, how is this not handled properly by Twitter while so many developers are complaining? What you suggested works, but here are my concerns:
-
127.0.0.1 instead of localhost works but I work with localhost, not 127.0.0.1 and I don’t want to adapt my code for Twitter only
- Creating fake hosts works too but if I work on many projects on many computers this is a pain
- Using a real domain will help only if I already have a domain available
- The legacy interface has been disabled last month, I was using it until now