twitter - 使用一个帐户的 Twitter API 从另一个帐户发送推文?
问题描述
是否可以使用我在账户 X 上的 twitter API 注册账户从另一个账户 Y(也是我的账户)发推文?
解决方案
是的,您只需使用 OAuth 1.0a 以帐户 Y 身份进行身份验证。
有关更多信息,请参阅https://developer.twitter.com/en/docs/basics/authentication/overview和https://developer.twitter.com/en/docs/basics/authentication/oauth-1-0a。
如果您使用的是 Tweepy,请参阅https://tweepy.readthedocs.io/en/latest/auth_tutorial.html。
推荐阅读
- javascript - SVG - 沿着圆形路径绘制形状
- parallel-processing - 在 Kafka 消费者中实现并发
- ambari - hortonworks/sandbox-hdp:3.0.1 的默认 Ranger 管理员用户名和密码是什么
- javascript - 如果用户想使用 javascript 提供存储桶名称,我们如何获取 aws-s3 存储桶数据?
- python - 如何加速这个 Numba 矩阵乘法
- laravel - 如果数据不存在,Laravel 插入种子
- amazon-web-services - 使用 SNS 的 Lambda 限制行为
- c# - 如何转换表达式
> 到表达式 >? - python - 如果 2 个 keras 模型共享层,设置 trainable=False 后要编译哪个模型?
- c# - 当路径列表为空并返回任务时如何避免运行函数