OGeek|极客世界-中国程序员成长平台

标题: ios - 显示用户的 Twitter 提要 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-13 07:56
标题: ios - 显示用户的 Twitter 提要

我想像图片 enter image description here 那样显示 twitter 提要

有必要为此做“OAuth”吗?我正在尝试使用 this url 进行“OAuth” .
它正在给予:

Access denied Sorry, you're not allowed to access that page.

Twitter 提要应该是用户,我会给用户名而不是登录模拟器或设备的用户。我关注 this tutorial



Best Answer-推荐答案


“Twitter 使应用程序能够代表应用程序本身发出经过身份验证的请求”https://dev.twitter.com/docs/auth/application-only-auth

您可以使用 - AFTweetFetcher - “使用新的 1.1 API 从 twitter 检索推文的简单类,无需用户进行身份验证或在其设备上存储 twitter 帐户”

所有你需要的:ConsumerKeyConsumerSecret

关于ios - 显示用户的 Twitter 提要,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23754066/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) Powered by Discuz! X3.4