我想制作特定帐户的显示推文,我在twitter上使用消费密钥和密钥创建了应用程序,但它需要访问令牌,我搜索并发现用户必须登录但实际上我想要我的应用程序查看未登录的推文。!
答案 0 :(得分:0)
你应该使用twitter提供的小部件来显示推文
使用您的帐户转到Twitter登录进入设置>小部件 您可以创建所需的小部件高度和宽度。
你可以在你的网页浏览中显示它。
答案 1 :(得分:0)
您可以使用简单的“类”AFTweetFetcher
“..使用新的1.1 API从Twitter检索推文,而无需用户进行身份验证..”
+(void) getMostRecentTweetFor:(NSString*) account then:(AFSingleTweetBlock) block;
/**
* Retrieves the most recent #{number} tweets for the given account then calls the callback passing
* an array of tweet objects.
*/