【问题标题】:Get Twitter userId using twitter api使用 twitter api 获取 Twitter userId
【发布时间】:2013-05-04 21:45:21
【问题描述】:

我可以通过使用获取所有用户的详细信息

https://api.twitter.com/1/account/verify_credentials.json

但我只想通过 api 获取 ID

如何获得。

我不想从总凭据中提取。

我想要 Facebook 网址

https://graph.facebook.com/me?fields=id

它只返回 ID。

谢谢。

【问题讨论】:

  • AFAIK,这还不可能,你必须从总凭证中提取。

标签: twitter


【解决方案1】:

最接近此类的 Twitter 是 GET friends/ids 端点,它将返回给定 Twitter 用户的朋友 ID 列表。

详情请看:https://dev.twitter.com/docs/api/1.1/get/friends/ids

【讨论】:

  • 这似乎只与授权用户有关。
猜你喜欢
  • 2013-06-22
  • 1970-01-01
  • 1970-01-01
  • 2021-04-01
  • 2012-10-10
  • 2016-05-18
  • 2021-11-25
  • 2011-05-21
  • 2016-12-18
相关资源
最近更新 更多