无法在Tweepy的on_status方法上获取全文

时间:2018-07-27 21:23:53

标签: python api twitter tweepy

我无法获得状态的全文。 我尝试了“ status.full_text”和类似的操作,但是 status 没有此类属性。

相反,

Error in quantile.default(d[[modx]], cut_points) : 
  missing values and NaN's not allowed if 'na.rm' is FALSE

这很好用。似乎 tweet 具有“全文”属性,而状态没有。

那么,为了获得状态的全文,我必须在下面的代码中进行哪些更改?

turnover_factortwo_ols2 <- lm(turnover_factor2 ~ 
CustInj*emo_exo*as.vector(performance_scale)+ Job_demands + age + INFJ + 
INTPJ + DJ + PJ, data = Rogers_reduced, na.rm=TRUE)

Warning message:
In lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) :
extra argument ‘na.rm’ will be disregarded `

1 个答案:

答案 0 :(得分:0)

尝试here,尝试status.extended_tweet["full_text"]