Ken*_*ams 2 twitter oauth single-sign-on ios5
我正试图在我的iOS5应用程序中实现Twitter SSO,并看到Twitter有一个名为Reverse Auth的东西.如果这是正确的方法,有人可以解释一下.Reverse Auth基本上是从iOS5应用程序获取访问令牌并将其传递给应用程序服务器吗?
小智 5
如果要允许服务器进行API调用,则只需使用反向验证.如果您只想让iOS应用程序直接发布到Twitter,那么您不需要Reverse Auth.
对于反向验证,请参阅:
https://dev.twitter.com/docs/ios/using-reverse-auth
https://github.com/seancook/TWiOS5ReverseAuthExample
请务必先从Twitter请求Reverse Auth权限,否则示例代码将无效.