Twitter跟随小部件,无需打开意图 [英] Twitter Follow widget without opening intent
问题描述
我想使用Twitter的跟随按钮窗口小部件,但是,而不是打开的意图,每次用户点击它来查看针对性的用户,我希望它直接遵循针对性的用户无需打开意图。那可能吗? 如果是这样,怎么样?
I want to use the twitter "follow-button" widget, but, instead of opening an intent everytime a user clicks on it to view the targetted user, i want it to follow the targetted user directly without opening the intent. Is that possible? If so, how?
推荐答案
您是否尝试过这个? https://dev.twitter.com/web/follow-button
Have you tried this one? https://dev.twitter.com/web/follow-button
有后续按钮用户交互流被设计成作为 精简越好,易于使用的开发者,网站所有者 和用户。有两种简单关注按钮流动,这取决于 用户的当前状态:
The user interaction flow for the Follow Button was designed to be as streamlined as possible and easy to use for developers, website owners and users. There are two simple Follow Button flows, depending on the user’s current state:
登录到twitter.com:当点击跟踪按钮,用户 将立即按照目标用户。
Signed in to twitter.com: When clicking the Follow Button, the user will instantly be following the target user.
未登录到 twitter.com:这将打开意向框,提示用户登录 到twitter.com。
Not signed in to twitter.com: This will open the Intent box and prompt the user to sign in to twitter.com.
这篇关于Twitter跟随小部件,无需打开意图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!