简体   繁体   English

使用iOS社交框架为任何用户授权会话?

[英]Authorize a session for any user with the iOS Social Framework?

Is it possible to authenticate a user to post to any Twitter or Facebook account from their iOS app? 是否可以对用户进行身份验证以从其iOS应用发布到任何Twitter或Facebook帐户? By this I mean not an account thats set it your Settings App. 我的意思是,没有一个帐户将其设置为您的“设置”应用。 I'm hoping it can be done with their new iOS Social Framework as I know the Twitter and Facebook APIs will not always be supported. 我希望可以使用其新的iOS社交框架来完成此操作,因为我知道Twitter和Facebook API不会始终受支持。

I want to be able to enter the credentials of any user and make a post as them. 我希望能够输入任何用户的凭据并以此作为帖子。

Your questions is kind of unclear, but it comes down to this: As an app developer, you are only allowed the permissions to the social account that the user is logged into inside of the settings app (and only after the user grants the app permission). 您的问题尚不清楚,但可以归结为:作为应用程序开发人员,仅允许您访问用户在设置应用程序内部登录的社交帐户的权限(并且仅在用户授予应用程序权限之后) )。

For the iOS social framework, the user is allowed to be simultaneously logged into multiple Twitter accounts, except only one Facebook account. 对于iOS社交框架,允许用户同时登录多个Twitter帐户,只有一个Facebook帐户除外。

Read up on the Social.framework here: Social.framework 在此处阅读Social.framework: Social.framework

And the facebook open graph api here: Facebook Open Graph 和Facebook的开放图API在这里: Facebook的开放图

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

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