开发者

Twitter authentication for a mobile web page?

开发者 https://www.devze.com 2023-03-06 08:38 出处:网络
The typical way to authenticate user with Twitter is to open the Twitter\'s authentication page in a new window/tab. However, this is a bit clunky with mobile browsers.

The typical way to authenticate user with Twitter is to open the Twitter's authentication page in a new window/tab. However, this is a bit clunky with mobile browsers.

Is there any nice pattern how to do this as user frie开发者_开发技巧ndly as possible? Opening the auth page in an iframe is out of question.

Edit: I am building an HTML5 app that should work both on desktop and mobile browsers.


Assuming you're dealing with a mobile app versus a mobile website, yes, you can do this with xAuth. You will need to get approved by the API team though. Not sure how long that takes.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号