Twitter 错误代码 215:错误的身份验证数据 [英] Twitter error code 215: Bad Authentication Data

查看:24
本文介绍了Twitter 错误代码 215:错误的身份验证数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个允许用户输入 Twitter 页面 URL 或 Twitter 名称的 Web 应用程序,我将返回该页面的一些页面信息/统计信息.

I want to create a web application which will allow users to input a Twitter Page URL or Twitter name, and I will return some page information/statistics of that page.

我检索的所有数据都是公开的,因此我不需要任何用户身份验证.

All the data I retrieve will be public, hence I do not need require any user authentication.

我正在尝试执行以下查询,

I am trying to execute the following query,

https://api.twitter.com/1.1/users/show.json?screen_name=twitterapi

应该根据 Twitter 参考返回某种类型的信息 https://dev.twitter.com/rest/reference/get/users/show.

which should return some type of information according to the Twitter Reference https://dev.twitter.com/rest/reference/get/users/show.

但是,当我在浏览器中执行 URL 时,出现以下错误:

However when I execute the URL in my browser, I get the following error:

{"errors":[{"code":215,"message":"Bad Authentication data."}]}

谁能提供任何解释或替代方案?

Could anyone provide any explanation or alternative?

推荐答案

Twitter 不允许在没有 OAuth 的情况下收集信息:

Twitter does not allow gathering of information without OAuth:

Twitter API 错误 215

这篇关于Twitter 错误代码 215:错误的身份验证数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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