python - 最大 Twitter ID?

标签 python twitter oauth

有人知道 Twitter 上的最大用户 ID 是多少吗?也就是说现在有大约2亿用户,那么id的范围是1-2亿吗?我发现在这个范围内一些 id 没有被使用。

我有一个基本上访问以下网址的 python 脚本:

“/1/statuses/user_timeline/” + str(user_id) + “.json?count=200”

谢谢

最佳答案

Twitter API表示 id 是一个整数“大于 53 位”,并且 64 位整数可以安全地保存该值。

尽管如此,还是建议使用字符串表示形式id_str “为了安全起见”!?!

关于python - 最大 Twitter ID?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4406448/

相关文章:

python - 使用 Python 进行屏幕抓取

python - tensorflow 错误 : "Tensor must be from the same graph as Tensor..."

javascript - 如何在客户端返回 Meteor.call() 的值?

javascript - 保护用于 Javascript 小部件的 API

oauth - 如何使用访问 token 转换 OAuth 代码

python - 如何使用正则表达式查找重叠匹配?

python - 子类化 numpy ndarray 问题

android - 对于科学项目,我直接使用 twitter4j lib 和 android 2.1 向 Twitter 发送消息,但应用程序立即崩溃

javascript - Twitter API 不返回图像

azure - 如何从使用 Azure AD 作为身份验证提供程序的应用程序无缝登录 Salesforce