ios 上的 Twitter - 如何授予发布推文的权限? [英] Twitter on ios - How is permission granted to do tweets?

查看:56
本文介绍了ios 上的 Twitter - 如何授予发布推文的权限?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何授予权限?当一条推文即将发生或在您的设置页面权限中使用您的 twitter 帐户登录时,是否有一个弹出窗口请求许可?

I'm wondering how are permission granted? Is there a popup that asks for permission when a tweet is about to occur or is signing in with your twitter account in your settings page permission already?

我创建了一个游戏,我想为用户自动发送推文,我想知道如何获得用户的许可?

I created a game where I want to do automatic tweet for the user, and i'm wondering how will I get the user's permission to do so?

我正在使用 iOS 5 内置的 Twitter 框架,非常感谢任何帮助.

I am using iOS 5's built in Twitter Framework, any help is much appreciated.

提前致谢.

推荐答案

如果您使用的是 Twitter 框架,那么所有权限都由 iOS 自己处理,因此您无需执行任何操作.

If you're using the Twitter framework, then permissions are all handled by iOS itself so you don't have to do anything.

如果用户尚未使用他们的设备授权 Twitter 帐户,一旦您尝试使用该 API,iOS 就会提示您,并且它会为您处理登录和授权您的应用程序.完成后,您将可以从框架访问帐户.有关详细信息,请参阅单点登录.

If a user hasn't yet authorized a Twitter account with their device, iOS will prompt it for you once you attempt to use the API, and it'll handle signing in and authorizing with your application for you. Once that is done you will have access to the account from the framework. See Single Sign-On for details.

当然,您仍然需要处理用户拒绝提示并选择不从您的应用程序发布推文,而不仅仅是授权.

Of course, you'll still need to handle a user rejecting the prompt and opting not to post a tweet from your application as well, and not just authorizing.

这篇关于ios 上的 Twitter - 如何授予发布推文的权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆