简体   繁体   English

iPhone应用程序-如何创建需要Twitter用户帐户的登录页面?

[英]iPhone Application - How to create a login page that requires twitter user accounts?

I am creating an iPhone application ..this is how my application works, 我正在创建一个iPhone应用程序..这就是我的应用程序的工作方式,

1)Upon opening the application,the user will be prompted to login.The users are required to login using their twitter account. 1)打开应用程序后,将提示用户登录。要求用户使用其推特帐户登录。

2)After login,they will see my comment page...upon commenting..it will appear on both facebook and twitter.. 2)登录后,他们会看到我的评论页面...在评论时..它将同时出现在facebook和twitter上。

How do i go about doing this?I am not sure how to integrate my login page with twitter.I am totally new to coding/progamming. 我不知道如何将我的登录页面与Twitter集成在一起。我是编码/编程的新手。

Please help me out.thanks 请帮帮我。谢谢

The first thing you want to do is checkout both Twitter and Facebook's API's(Application Programming Interface). 您要做的第一件事是检出Twitter和Facebook的API(应用程序编程接口)。 They will give you everything you need, including documentation, to make successful logins and updates to the users account, however I don't believe your current model will work as explained. 它们将为您提供成功登录和更新用户帐户所需的一切,包括文档,但是我不认为您当前的模型会按说明工作。 I'm not 100% certain but I'm pretty sure that for both API's, at app start up, the user must login before making any updates, meaning your users will have to login to both services each time they launch your app. 我不确定100%,但是我很确定对于这两个API,在应用启动时,用户必须先登录才能进行任何更新,这意味着您的用户每次启动应用时都必须登录这两种服务。 It may be a little simpler now that Twitter is built into iOS but like I said I'm not 100% sure on that. 现在,Twitter已内置到iOS中,这可能会更简单一些,但就像我说的那样,我不确定100%。 Good luck with your app man! 与您的应用程式人好运! Let me know if you need any extra help. 让我知道您是否需要其他帮助。

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

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