Hi,
I am giving this code to Login With twitter(Using twitter’s username and password in my website)…getting warning
@Anywhere has been retired, and support discontinued.
Insert title here
<script type="text/javascript">
!function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (!d.getElementById(id)) {
js = d.createElement(s);
js.id = id;
js.src = "http://platform.twitter.com/anywhere.js?id= Fm6Yh2nYqZ734Q4MAeR3t2Vl8&v=1";
fjs.parentNode.insertBefore(js, fjs);
}
}(document, "script", 'twitter-anywhere');
//describe the login actions
twttr.anywhere(function(T) {
T.bind("authComplete", function(e, user) {
var token = user.attributes._identity;
//define the login function on your client through Twitter
});
});
//function we link to the click on the custom login button through Twitter
function doTWSignIn() {
twttr.anywhere(function(T) {
T.signIn();
});
}
</script>
<div id="status">
Click on Below Image to start the demo: <br />
<img src="index.jpg" style="cursor: pointer; width: 10%;" onclick="doTWSignIn()" />
</div>
…Please help me out,i want to sign with twitter