使用 oauth_token 和 oauth_token_secret 如何使用 twitter api 获取用户详细信息? [英] Using oauth_token and oauth_token_secret how to get user details with twitter api?

查看:26
本文介绍了使用 oauth_token 和 oauth_token_secret 如何使用 twitter api 获取用户详细信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 oauth_token 和 oauth_token_secret.有什么方法可以使用它获取 Twitter 用户详细信息吗?我的网站上有一个推特按钮,成功登录后我得到了 oauth_token 和 oauth_token_secret.

I have a oauth_token and oauth_token_secret. Is there any way to get twitter user details using this? I have a twitter button in my website and after successful login i got oauth_token and oauth_token_secret.

推荐答案

您可以从 API 中检索有关用户的大量信息.

You can retrieve quite a bit of information about users from the API.

访问(https://dev.twitter.com/docs/api/1.1) 并向下滚动到用户"部分.它详细说明了您可以拨打的电话以及每个电话返回的信息.

Visit (https://dev.twitter.com/docs/api/1.1) and scroll down to the "Users" section. It details the calls you can make and what information is returned by each.

这篇关于使用 oauth_token 和 oauth_token_secret 如何使用 twitter api 获取用户详细信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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