在 python 中使用 twitter api 命令实现有困难 [英] having difficulty using twitter api command implemention in python

查看:25
本文介绍了在 python 中使用 twitter api 命令实现有困难的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将其实现到 python 中:

I am trying to implement this into python:

https://dev.twitter.com/docs/api/1.1/get/statuses/retweeters/ids

这是我目前所拥有的:

def reqs():
t = Twitter(auth=OAuth('...'))
tweets = t.statuses.user_timeline.snl()

如何从用户的时间轴中获取转发一条推文的用户的用户 ID?

How do I get the user id's of those who retweeted a single tweet from the user's timeline?

推荐答案

改用高音喇叭.繁荣.自己想出来的

use tweeters instead. boom. figured it out on my own

t.statuses.retweets(....)

这篇关于在 python 中使用 twitter api 命令实现有困难的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆