Twitter API,也允许应用程序的关注者 [英] Twitter API, followers that have also allowed app

查看:21
本文介绍了Twitter API,也允许应用程序的关注者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道 Twitter API 是否具有类似于 Facebook 的已安装"用户属性.如果您不知道那是什么,Facebook 将根据连接是否安装/授权应用程序返回一个值(请参阅下面的官方说明).

I am wondering if the Twitter API has something similar to Facebook's "installed" user property. In case you don't know what that is, Facebook will return a value based on wether or not a connection has the app installed/authorized (see official description below).

我想要做的是显示用户关注的也使用该应用程序的人的列表,以便他们可以与他们联系.就像 Instagram 与您的 Facebook 好友以及 Vine 为您的 Twitter 好友所做的一样.

What I am trying to do is show a list of people the user follows who also use the app so they can connect with them. Just like Instagram does with your Facebook friends and Vine does for your Twitter friends.

来自 Facebook:指定用户是否已安装与用于发出请求的应用访问令牌关联的应用

From Facebook: Specifies whether the user has installed the application associated with the app access token that is used to make the request

推荐答案

这似乎是不可能的.至少不会了.

It seems this is not possible. At least not any more.

你现在唯一能做的就是在你身边.这意味着,为经过身份验证的用户存储 Twitter ID.然后,您可以将 twitter GET 朋友/ids api 调用返回的朋友 id 与您存储的 twitter id 的数据库进行比较,并显示这些用户.

The only way you can do this now is on your end. Which means, storing twitter ID's for authenticated users. Then you can compare the returned friend ids from a twitter GET friends/ids api call to the database you have of stored twitter ids and display those users.

Twitter 使使用他们的 API 和数据变得如此困难,真是太可惜了.

Its a real shame Twitter makes working with their API and data so damn difficult.

这篇关于Twitter API,也允许应用程序的关注者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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