views:

38

answers:

1

I want to add twitter oauth just like facebook connect in my site like this site http://mytweeple.com/default.aspx. Need help on this how i can do this. Regards,

+1  A: 

Check out http://apiwiki.twitter.com/OAuth-FAQ

You can find some code examples here.

And a great walk through guide.

Dead account
I have one question more how can i check on my site pages that user is logged in or not ?
necromancer
It is not possible to "sniff" that the user is already logged into twitter - as this would require crossing a domain security boundary.
Dead account
no you didnt understand what i want is that i want to check on my site after signing in from twitter connect that user is logged in or not like after signing in callback url was page1.aspx i moved to page2.aspx how i can check on page2.aspx that user is logged in or not ?
necromancer
If they login with twitter they'll be redirected to a URL of your choosing (ie; yoursite.com/oauthlogin.aspx) If they choose not to then they'll never get to that page. So in your oauthlogin page, authenticate and remember in session etc.
Dead account

related questions