'What do i put in URL Callback on twitter oAuth2.0?

I am creating a twitter bot in Visual Studio using C# to get some hands on practice in. I have written all the code necessary but I am now stuck at the permissions section as I am doing this within VS so I don't have an official domain URL to enter. I have tried localhost but it doesn't. Hoping someone can offer some advice :)

Error Code

Screenshot of code

Twitter Dev Authentication Page



Solution 1:[1]

You can't set the callback url to localhost.

Use this: https://tolocalhost.com/

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 NTINNEV