如何获取推特列表信息(订阅信息)

时间:2022-01-12 01:51:07

i saw some example code for finding members of list. so i changed it slightly and converged for fit to me, however it doesn't work

我看到了一些用于查找列表成员的示例代码。所以我稍微改变它并收敛以适应我,但它不起作用

screen_name <-"Newsminster" 
api.url <- paste0("https://api.twitter.com/1.1/lists/list.json?","screen_name=", screen_name)

url.get=GET(api.url)
url.content=content(url.get, as="text")

output :

输出:

url.content [1] "{\"errors\":[{\"code\":215,\"message\":\"Bad Authentication data.\"}]}"

url.content [1]“{\”errors \“:[{\”code \“:215,\”message \“:\”Bad Authentication data。\“}]}”

1 个解决方案

#1


0  

it looks like Twitter's latest API 1.1 does not allow access without authentication

看起来Twitter的最新API 1.1不允许在没有身份验证的情况下进行访问

The article can be found here:

这篇文章可以在这里找到:

http://www.webdevdoor.com/php/authenticating-twitter-feed-timeline-oauth/

http://www.webdevdoor.com/php/authenticating-twitter-feed-timeline-oauth/

check this answer as well

检查这个答案

Reference

参考

Twitter API error 215

Twitter API错误215

#1


0  

it looks like Twitter's latest API 1.1 does not allow access without authentication

看起来Twitter的最新API 1.1不允许在没有身份验证的情况下进行访问

The article can be found here:

这篇文章可以在这里找到:

http://www.webdevdoor.com/php/authenticating-twitter-feed-timeline-oauth/

http://www.webdevdoor.com/php/authenticating-twitter-feed-timeline-oauth/

check this answer as well

检查这个答案

Reference

参考

Twitter API error 215

Twitter API错误215