Click here to Skip to main content
15,917,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using @Anywhere code to implement the twitter signup functionality for my website

twttr.anywhere(function (T) {
            document.getElementById("signin-btn").onclick = function () {
                T.signIn()
            };
        });


Above written is my code to put "Connect with twitter" button on my website.
It redirects me to http://oath.twitter.com/................
and open a regular web page of twitter login for desktop browsers.

instead of the desktop size login page I want to open the mobile version of login page, as my website users will be the mobile users.
So they open my page in mobile, so i want twitters mobile version page to be opened
How can i do this.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900