我是否需要单独的 Twitter 应用程序来与 iOS 和 Android 应用程序集成?网络?

发布于 2024-12-02 20:40:15 字数 414 浏览 4 评论 0原文

我正在开发一个项目,其中包含 iOS 和 Android 本机应用程序,以及一个网站;所有 3 个频道均通过 Twitter 进行内容共享。当然,共享必须通过将 Twitter 应用程序与这些渠道集成来完成。

现在,过去的常态是我们需要单独的应用程序来实现此目的;最值得注意的是应用程序类型选择(浏览器与客户端)和回调 URL 的更改。

也许这是旧消息,但我们最近注意到 Twitter 应用程序设置不再具有浏览器/客户端设置,并且似乎建议对所有渠道采用通用方法。我已经做了一些研发,但无法让相同的 Twitter 应用程序与不同的渠道一起使用。

想知道是否有人有这种情况的经验;即利用单个 Twitter 应用程序进行多个渠道,以及这是否可行。

谢谢。

(PS>我确实在 Twitter 论坛上尝试过这个,但没有运气:( )

I'm working on a project which has iOS and Android native apps, plus a Website; with all 3 channels featuring content sharing via Twitter. Sharing must of course be done by integrating a Twitter app with these channels.

Now, the norm used to be that we'd need separate apps for this purpose; most notably with changes to the App Type selection (Browser vs. Client) and the Callback URL.

Perhaps this is old news, but we noticed recently that Twitter apps Settings no longer have a Browser/Client setting and seems to suggest a universal approach for all channels. I've done some R&D, but was unable to get the same twitter app working with different channels.

Was wondering whether anyone out there has experience in such a scenario; i.e. utilizing a single Twitter app for multiple channels, and whether this is a possibility.

Thanks.

(P.S. > I did try this out on the Twitter forums, but no luck :( )

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

故乡的云 2024-12-09 20:40:15

在 Twitter 论坛上的一些回答以及一些个人研发工作之后,我得出的结论是,这现在是可能的。即同一个 Twitter 应用程序可以在不同的渠道上使用。浏览器/客户端的区别不再适用于这些应用程序,并且可以在不同渠道中使用回调 URL 来解决这个问题。

唯一需要注意的是,对于 iOS 应用程序,您需要设置 PIN 验证器的发送,这将使 Twitter 应用程序正常运行。

为此,我们一直使用以下库,并且通过一些调整它可以很好地工作>
https://github.com/brione/Brion-Learns-OAuth

After some answers on the Twitter forums, plus some personal R&D work, I've concluded that this IS now possible. i.e. that the same same Twitter application can be used across different channels. The browser / client differentiation no longer applies in these apps, and its possible to work with a callback URL in different channels to work it out.

The only caveat is that for iOS applications, you will need to set up sending of the PIN authenticator which will will result in the Twitter app working well.

We've been using the following library for this purpose, and it'll work well with some tweaking >
https://github.com/brione/Brion-Learns-OAuth

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文