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

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

问题描述

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

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?

推荐答案

没有OAuth,Twitter不允许收集信息:

Twitter does not allow gathering of information without OAuth:

Twitter API错误215

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

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