gpt4 book ai didi

android - 使用 twitter API 1.1 在 Android App 中显示 twitter feed

转载 作者:太空狗 更新时间:2023-10-29 16:06:44 27 4
gpt4 key购买 nike

基本上我想显示这个提要:https://en.twitter.com/epl_live在我的应用程序中。由于 Twitter 更改了它的 API 1.1,因此每个调用都必须经过授权,我发现的所有示例都是用户必须登录到 Twitter 并授权我的应用程序的一次。

仅显示提要是愚蠢且耗时的,因为除了推文之外我不想要任何个人信息。

有没有简单的方法来做到这一点?任何人都有任何从 Twitter 中提取提要的工作脚本?

最佳答案

使用 1.1 版的 Twitter API 在未经用户授权的情况下进行调用是不可能的,但是 will be soon :

At this time, all authentication requires user context, but in the coming weeks we'll be pushing out support for a form of authentication not requiring a user context.

他们可能会发布一些方法来直接对您的应用程序进行身份验证,而无需任何用户登录。

目前您必须依赖 API 的 1.0 版本,is still supported :

We will be providing a 6 month window before turning off v1.0. Starting March 5th, 2013, the 1.0 endpoints will no longer be available.

关于android - 使用 twitter API 1.1 在 Android App 中显示 twitter feed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12459344/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com