gpt4 book ai didi

javascript - Twitter 关注小部件而不打开意图

转载 作者:行者123 更新时间:2023-12-03 11:12:29 24 4
gpt4 key购买 nike

我想使用 Twitter“关注按钮”小部件,但是,我希望它直接关注目标用户而不打开意图,而不是每次用户单击它来查看目标用户时都打开意图。那可能吗?如果是这样,怎么办?

最佳答案

你试过这个吗? https://dev.twitter.com/web/follow-button

The user interaction flow for the Follow Button was designed to be asstreamlined as possible and easy to use for developers, website ownersand users. There are two simple Follow Button flows, depending on theuser’s current state:

Signed in to twitter.com: When clicking the Follow Button, the userwill instantly be following the target user.

Not signed in totwitter.com: This will open the Intent box and prompt the user to signin to twitter.com.

关于javascript - Twitter 关注小部件而不打开意图,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27512695/

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