简体   繁体   English

我可以使用STTwitter库进行Twitter登录吗?

[英]Can I use STTwitter Library for Twitter login?

I am new in ios app development. 我是ios应用开发的新手。 I have to create an app with twitter login. 我必须使用Twitter登录创建一个应用程序。 Using account.framework it works fine. 使用account.framework可以正常工作。 But I need to create my own view for enter username and password field of twitter user. 但是我需要创建自己的视图来输入Twitter用户的用户名和密码字段。 Can I use STTwitter library for twitter login with custom UI. 我可以使用STTwitter库通过自定义UI进行Twitter登录吗?

NB: The login with twitter is similar to "Vine" app. 注意:使用Twitter登录类似于“ Vine”应用。

Yes, you can use STTwitter to login on Twitter via a custom UI, providing that your consumer tokens are XAuth enabled . 是的,您可以使用STTwitter通过自定义UI登录Twitter,前提是您的消费者令牌已启用XAuth

If they are not, then you should open the Twitter website as demonstrated in the demo project, see How to open twitter login page from iOS application . 如果不是,则应如演示项目中所示打开Twitter网站,请参阅如何从iOS应用程序打开Twitter登录页面

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM