Twitter not accepting the URL format and gives an error message Not a valid URL format.
SOLUTION
Twitter strictly applied a valid URL formatting on creating a new application. The format must be:
Website: http://example.com
Callback URL: http://example.com/auth/twitter/callback/
Website: http://example.com
Callback URL: http://example.com/auth/twitter/callback/