How can I make a "Connect with Twitter" button? Thanks


I’m trying to make a button in my website to connect an user to the application of website.
I need the “Connect with Twitter” button, after the click, he will be redirected to a page where him must accept the terms and the permission of the application


Sorry if this is the incorrect section


I find the answer to my question, i write the code below:


the above code not working, can plz tell me how can i set twitter login button.